forked from bocoup/coral-ask-election-2016
/
.eslintrc
27 lines (27 loc) · 795 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
{
"extends": "eslint-config-airbnb",
"parser": "babel-eslint",
"rules": {
"comma-dangle": ["error", "never"],
"max-len": [1, 120, { "ignoreComments": true, "ignoreTrailingComments": true, "ignoreUrls": true }],
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/__tests__/*", "**/*.test.js", "**/*.spec.js"]}],
"react/jsx-filename-extension": 0,
"react/forbid-prop-types": 0,
"react/no-unused-prop-types": 1,
"react/prefer-stateless-function": ["error", { "ignorePureComponents": true }],
"no-param-reassign": 0,
"no-shadow": 0,
"import/prefer-default-export": 0,
},
"plugins": [
"react",
"import"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
}
}