forked from graphql-dotnet/graphql-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
39 lines (39 loc) · 866 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
36
37
38
39
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"babel",
"react"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"constructor-super": 2,
"comma-spacing": 2,
"comma-style": [2, "last"],
"object-shorthand": 2,
"one-var": [2, { "initialized": "never" }],
"key-spacing": ["error", { "beforeColon": false }],
"object-curly-spacing": ["error", "always", {}],
"no-this-before-super": 2,
"no-underscore-dangle": 0,
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"no-var": 2,
"quotes": [2, "single", "avoid-escape"],
"semi": ["error", "never"],
"strict": 0
}
}