-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
52 lines (52 loc) · 1.06 KB
/
Copy path.eslintrc
File metadata and controls
52 lines (52 loc) · 1.06 KB
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
46
47
48
49
50
51
52
{
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"env": {
"es6": true,
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"settings": {
"import/resolver": {
"typescript": {}
},
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"react": {
"version": "detect"
}
},
"rules": {
"indent": "off",
"lines-between-class-members": "off",
"@typescript-eslint/indent": ["error", "tab"],
"no-tabs": ["error", { "allowIndentationTabs": true }],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "always",
"ts": "never",
"tsx": "never"
}
],
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"consistent-return": "off",
"class-methods-use-this": "off",
"import/no-named-as-default": "off",
"prettier/prettier": "error"
}
}