-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
35 lines (35 loc) · 933 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"no-plusplus": "off",
"arrow-parens": [2, "as-needed"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js"]}],
"indent": ["error", "tab", { "SwitchCase": 1 }],
"new-cap": [
2,
{
"capIsNewExceptions": ["List", "Map"]
}
],
"no-mixed-operators": "off",
"no-tabs": "off",
"react/forbid-prop-types": [0],
"react/prefer-es6-class": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"react/no-unused-prop-types": [2, { "skipShapeProps": true }]
},
"env": {
"es6": true,
"browser": true,
"jasmine": true,
"jest": true
},
"globals": {},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
}
}