-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.51 KB
/
.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
36
37
38
39
40
41
42
43
44
45
{
"env": {
"browser": true,
"es6": true
},
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended", "prettier/@typescript-eslint", "plugin:prettier/recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"import/extensions": ["error", "ignorePackages", { "ts": "never" }],
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"@typescript-eslint/no-explicit-any": "off",
"class-methods-use-this": "off",
"no-shadow": "off",
"consistent-return": "off",
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"lines-between-class-members": "off",
"dot-notation": "off",
"no-param-reassign": "off",
"@typescript-eslint/no-var-requires": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"no-return-assign": "off",
"import/prefer-default-export": "off",
"no-prototype-builtins": "off",
"no-undef-init": "off",
"no-plusplus": "off",
"no-await-in-loop": "off",
"no-underscore-dangle": "off",
"prefer-destructuring": "off",
"@typescript-eslint/ban-ts-comment": "off"
},
"settings": { "import/resolver": { "typescript": {} } }
}