rickvanlieshout.com/.eslintrc

25 lines
696 B
Plaintext
Raw Normal View History

{
2017-08-20 13:43:49 +02:00
"parser": "babel-eslint",
"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": {
"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],
"react/forbid-prop-types": [0],
2017-03-07 16:46:07 +01:00
"import/no-extraneous-dependencies": [0],
2017-08-21 02:11:59 +02:00
"comma-dangle": ["error", "never"],
2017-08-20 13:43:49 +02:00
"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
}