-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy path.eslintrc
28 lines (28 loc) · 937 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017
},
"plugins": ["react"],
"extends": ["standard", "standard-react"],
"globals": {
"WebSocket": true,
"requestAnimationFrame": true,
"cancelAnimationFrame": true,
"Image": true,
"fetch": true
},
"rules": {
"quotes": [ "error", "single", { "allowTemplateLiterals": true } ],
"jsx-quotes": ["warn", "prefer-double"],
"react/jsx-curly-newline": [ "off" ],
"react/jsx-tag-spacing": [ "error", { "closingSlash": "never", "beforeSelfClosing": "always", "afterOpening": "never", "beforeClosing": "never" } ],
"react/jsx-curly-brace-presence": [ "error", "never" ],
"no-unused-vars": [ "error", { "varsIgnorePattern": "^_" } ],
"indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-indent": "off",
"react/jsx-closing-tag-location": "off"
}
}