-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
41 lines (41 loc) · 1.15 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
{
"env": {
"node": true,
"es6": true
},
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "import", "prettier"],
"rules": {
"no-case-declarations": "off",
"default-param-last": "off",
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"no-console": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-inferrable-types": "error",
"indent": ["error", 2],
"semi": ["error", "always"],
"quotes": ["error", "double"],
"camelcase": "off",
"import/no-extraneous-dependencies": "off",
"no-param-reassign": "off",
"prettier/prettier": "off",
"no-nested-ternary": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}