forked from GatsbyCentral/gatsby-v2-starter-lumen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
27 lines (27 loc) · 749 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
{
"parser": "babel-eslint",
"extends": ["prettier", "airbnb"],
"plugins": ["import", "jsx-a11y", "react"],
"globals": {
"graphql": true
},
"rules": {
"arrow-body-style": [
"error",
"as-needed",
{ "requireReturnForObjectLiteral": true }
],
"arrow-parens": ["error", "as-needed"],
"comma-dangle": ["error", "always-multiline"],
"function-paren-newline": "off",
"no-console": "off",
"prefer-destructuring": "off",
"semi": ["error", "never"],
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/jsx-filename-extension": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off"
}
}