-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 979 Bytes
/
.eslintrc
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
{
"extends": ["airbnb", "plugin:react/recommended", "prettier"],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2021,
"allowImportExportEverywhere": false,
"codeFrame": false,
"ecmaFeatures": {
"modules": true
}
},
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
},
"ignorePatterns": ["**/vendors/*.js"],
"rules": {
"max-len": ["error", { "code": 150 }],
"prefer-promise-reject-errors": ["off"],
"react/jsx-filename-extension": ["off"],
"react/prop-types": ["off"],
"no-return-assign": ["off"],
"react/no-unknown-property": ["off"],
"react/jsx-props-no-spreading": ["off"],
"import/no-names-as-default": ["off"],
"import/no-named-as-default-member": ["off"],
"import/no-unresolved": ["error", { "ignore": ["three/addons"] }],
"no-use-before-define": ["off"],
"consistent-return": ["off"]
}
}