Skip to content

Commit f655bac

Browse files
author
devgioele
committed
lint js files without type-aware linting and include json files
1 parent ef26ba4 commit f655bac

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

ts.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@ module.exports = {
1111
project: true,
1212
tsconfigRootDir: __dirname,
1313
sourceType: 'module',
14-
ecmaVersion: 2020
14+
ecmaVersion: 2020,
15+
extraFileExtensions: ['.json']
1516
},
17+
overrides: [
18+
{
19+
extends: ['plugin:@typescript-eslint/disable-type-checked'],
20+
files: ['./**/*.js']
21+
}
22+
],
1623
env: {
1724
node: true,
1825
browser: true,

0 commit comments

Comments
 (0)