Skip to content

Commit 9e16b99

Browse files
committed
Added eslint
1 parent 87e7419 commit 9e16b99

15 files changed

+823
-99
lines changed

.eslintrc.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
parser: "@typescript-eslint/parser",
7+
parserOptions: {
8+
project: ['./tsconfig.json']
9+
},
10+
plugins: [
11+
"@typescript-eslint"
12+
],
13+
extends: [
14+
"eslint:recommended",
15+
"plugin:@typescript-eslint/eslint-recommended",
16+
"plugin:@typescript-eslint/recommended",
17+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
18+
],
19+
ignorePatterns: ["**/*.js"],
20+
rules: {
21+
"no-case-declarations": "off",
22+
"@typescript-eslint/no-inferrable-types": "off",
23+
"@typescript-eslint/no-non-null-assertion": "off",
24+
"@typescript-eslint/no-unused-vars": "off",
25+
"@typescript-eslint/no-explicit-any": "off",
26+
"@typescript-eslint/member-delimiter-style": "off",
27+
"@typescript-eslint/member-ordering": "error",
28+
"@typescript-eslint/unbound-method": ["error", {
29+
"ignoreStatic": true
30+
}]
31+
}
32+
};

0 commit comments

Comments
 (0)