-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
35 lines (33 loc) · 902 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"extends": "@geo1088",
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
// Disable valid-jsdoc for typescript
"valid-jsdoc": "off",
// Set delimiter style for interface/object type members
"@typescript-eslint/member-delimiter-style": "error",
// Replace ESLint rules with their typescript-eslint counterparts
"lines-between-class-members": "off",
"@typescript-eslint/lines-between-class-members": "error",
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": "error",
"no-extra-parens": "off",
"@typescript-eslint/no-extra-parens": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_"
}
],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "error"
}
}