forked from cardano-foundation/testnets-cardano-org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
24 lines (24 loc) · 813 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017
},
"plugins": ["react"],
"extends": ["standard", "standard-react"],
"globals": {
"WebSocket": true,
"requestAnimationFrame": true,
"cancelAnimationFrame": true,
"Image": true,
"fetch": true
},
"rules": {
"array-bracket-spacing": [ "error", "always" ],
"react/jsx-fragments": [ "error", "element" ],
"quotes": [ "error", "single", { "allowTemplateLiterals": true } ],
"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": "^_$" } ]
}
}