-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
43 lines (43 loc) · 984 Bytes
/
.eslintrc
File metadata and controls
43 lines (43 loc) · 984 Bytes
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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"amd": true,
"jest": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react", "jsx-a11y", "prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"parser": "flow"
}
],
"arrow-parens": [1, "as-needed"],
"comma-dangle": 0,
"operator-linebreak": 0,
"no-unused-vars": 1,
"react/prop-types": 1,
"react/no-array-index-key": 0,
"react/destructuring-assignment": 0,
"react/jsx-no-target-blank": 0,
"react/jsx-filename-extension": 0,
"react/jsx-one-expression-per-line": 0,
"jsx-a11y/click-events-have-key-events": 0,
"object-curly-newline": 0
}
}