-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
30 lines (30 loc) · 863 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"arrow-parens": ["error", "as-needed"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.spec.js"]}],
"no-tabs": "off",
"indent": ["error", "tab", { "SwitchCase": 1 }],
"react/prefer-es6-class": 0,
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"react/no-unused-prop-types": [2, { "skipShapeProps": true }],
"linebreak-style": 0,
"react/forbid-prop-types": [0],
"no-console": ["error", { "allow": ["info", "warn", "error"] }],
"react/require-extension": "off"
},
"env": {
"es6": true,
"browser": true,
"jasmine": true,
"jest": true
},
"globals": {},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
}
}