forked from yatsu/react-apollo-koa-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 845 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": [
"react-app",
"airbnb"
],
"plugins": [
"flowtype",
"import",
"jsx-a11y",
"react"
],
"rules": {
"class-methods-use-this": "off",
"comma-dangle": ["error", "never"],
"semi": ["error", "never"],
"no-mixed-operators": "off",
"no-param-reassign": ["error", { "props": false }],
"no-underscore-dangle": "off",
"flowtype/semi": ["error", "never"],
"react/jsx-filename-extension": "off",
"react/prefer-stateless-function": ["error", { "ignorePureComponents": true }],
"import/no-extraneous-dependencies": ["error", {
"devDependencies": ["**/*.test.js", "**/stories/**/*.js", "**/*_test.js"]
}],
"import/no-named-default": "off",
"react/jsx-tag-spacing": "off",
"react/no-array-index-key": "off",
"react/require-default-props": "off"
}
}