rickvanlieshout.com/.eslintrc

25 lines
746 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": {
"react/jsx-filename-extension": [0],
"react/prefer-stateless-function": [0],
2018-01-21 00:59:25 +01:00
"react/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"],
2018-01-21 00:59:25 +01:00
"jsx-a11y/anchor-is-valid": [0],
"prefer-destructuring": [0],
"object-curly-newline": ["error", { "multiline": true, "minProperties": 5 }],
2017-08-20 13:43:49 +02:00
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
"import/extensions": [0],
"no-console": "off"
2017-03-07 16:46:07 +01:00
}
2017-08-20 13:43:49 +02:00
}