Skip to content

Commit 363c9b1

Browse files
committed
Updated linting standard to match
1 parent 89de829 commit 363c9b1

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.eslintrc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,24 @@
1010
"extends": [
1111
"eslint:recommended",
1212
"plugin:@typescript-eslint/recommended",
13-
"prettier/@typescript-eslint",
14-
"plugin:prettier/recommended"
13+
"plugin:prettier/recommended",
14+
"prettier",
15+
"prettier/@typescript-eslint"
1516
],
1617
"parserOptions": {
1718
"sourceType": "module",
18-
"ecmaVersion": 2018
19+
"ecmaVersion": 2020
1920
},
2021
"rules": {
22+
"linebreak-style": ["error", "unix"],
23+
"no-empty": 1,
24+
"no-undef": 1,
25+
"no-useless-catch": 1,
26+
"no-prototype-builtins": 1,
2127
"@typescript-eslint/no-namespace": 0,
2228
"@typescript-eslint/no-explicit-any": 0,
2329
"@typescript-eslint/explicit-module-boundary-types": 0,
24-
"@typescript-eslint/no-unused-vars": "error",
25-
"@typescript-eslint/no-inferrable-types": 0,
26-
"no-prototype-builtins": 1,
27-
"no-useless-catch": 1,
28-
"no-undef": 1,
29-
"no-empty": 1,
30-
"linebreak-style": ["error", "unix"]
30+
"@typescript-eslint/no-unused-vars": "warn",
31+
"@typescript-eslint/no-inferrable-types": 0
3132
}
3233
}

0 commit comments

Comments
 (0)