Skip to content

Commit 94e489c

Browse files
authored
chore(deps): upgrade eslint to v8 (#143)
1 parent 00cef01 commit 94e489c

File tree

12 files changed

+1944
-1315
lines changed

12 files changed

+1944
-1315
lines changed

.eslintrc.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
module.exports = {
22
parser: '@typescript-eslint/parser',
3+
plugins: ['@typescript-eslint'],
34
extends: [
5+
'eslint:recommended',
46
'plugin:react/recommended',
57
'plugin:@typescript-eslint/recommended',
68
],
79
parserOptions: {
810
ecmaVersion: 2018,
911
sourceType: 'module',
10-
project: './tsconfig.json',
1112
},
13+
root: true,
1214
rules: {
1315
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
1416
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
@@ -27,4 +29,8 @@ module.exports = {
2729
version: 'detect',
2830
},
2931
},
32+
ignorePatterns: [
33+
'*.js',
34+
'__tests__',
35+
],
3036
};

0 commit comments

Comments
 (0)