2017-03-07 16:12:39 +01:00
|
|
|
{
|
2017-08-20 13:43:49 +02:00
|
|
|
"parser": "babel-eslint",
|
2017-03-07 16:12:39 +01:00
|
|
|
"extends": "airbnb",
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
|
|
|
"jsx-a11y",
|
|
|
|
"import"
|
2017-03-07 16:46:07 +01:00
|
|
|
],
|
2017-08-20 13:43:49 +02:00
|
|
|
"globals": {
|
|
|
|
"graphql": true
|
|
|
|
},
|
2017-03-07 16:46:07 +01:00
|
|
|
"rules": {
|
2017-03-08 16:53:50 +01:00
|
|
|
"global-require": [0],
|
2017-03-07 16:46:07 +01:00
|
|
|
"react/jsx-filename-extension": [0],
|
|
|
|
"react/prefer-es6-class": [0],
|
|
|
|
"react/prefer-stateless-function": [0],
|
2017-03-08 17:08:19 +01:00
|
|
|
"react/forbid-prop-types": [0],
|
2017-03-07 16:46:07 +01:00
|
|
|
/* to allow importing 'gatsby-helpers' */
|
|
|
|
"import/no-extraneous-dependencies": [0],
|
2017-08-20 13:43:49 +02:00
|
|
|
"comma-dangle": ["error", {"functions": "ignore"}],
|
|
|
|
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
|
2017-03-07 16:46:07 +01:00
|
|
|
"import/no-unresolved": [0],
|
2017-08-20 13:43:49 +02:00
|
|
|
"import/extensions": [0],
|
|
|
|
"no-console": "off"
|
2017-03-07 16:46:07 +01:00
|
|
|
}
|
2017-08-20 13:43:49 +02:00
|
|
|
}
|