-
Notifications
You must be signed in to change notification settings - Fork 57
/
.eslintrc
45 lines (45 loc) · 1.31 KB
/
.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
38
39
40
41
42
43
44
45
{
"extends": ["airbnb", "prettier"],
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"node": true
},
"globals": {
"__MESSAGES__": true,
"__MESSAGING_GLOBALS__": true,
"__ENV__": true
},
"plugins": ["prettier","eslint-comments"],
"rules": {
"arrow-body-style": "off",
"unicorn/prefer-spread": "off",
"prettier/prettier": "error",
"no-underscore-dangle": "off",
"no-promise-executor-return": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["/*.js", "/utils/**/*.js", "/tools/**/*.js", "/tests/**/*.js"] }
],
"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"react/prop-types": 0,
"react/function-component-definition": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-filename-extension": 0,
"react/jsx-curly-spacing": 0,
"react/no-unknown-property": 0
},
"settings": {
"import/resolver": {
"babel-module": {
"alias": {
"src": "./src",
"server": "./server",
"utils": "./utils"
}
}
}
}
}