forked from bcgov/bcdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (34 loc) · 782 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"jest": true
},
"globals": {
"graphql": false
},
"parserOptions": {
"sourceType": "module"
},
"plugins": ["prettier"],
"rules": {
"no-unused-vars": ["error"],
"prettier/prettier": ["error"],
"linebreak-style": ["warn", "unix"],
"semi": ["error", "always"],
"indent": "off",
"import/no-named-as-default": "off",
"no-shadow": "off",
"quote-props": "off",
"max-len": "off",
"react/sort-comp": "off",
"no-unused-expressions": "warn",
"no-useless-concat": "warn",
"block-scoped-var": "error",
"consistent-return": "error",
"operator-linebreak": "off",
"arrow-parens": "off",
"eol-last": ["error", "always"]
}
}