rickvanlieshout.com/.eslintrc
2018-01-21 02:59:25 +03:00

25 lines
746 B
Plaintext

{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"globals": {
"graphql": true
},
"rules": {
"react/jsx-filename-extension": [0],
"react/prefer-stateless-function": [0],
"react/prop-types": [0],
"import/no-extraneous-dependencies": [0],
"comma-dangle": ["error", "never"],
"jsx-a11y/anchor-is-valid": [0],
"prefer-destructuring": [0],
"object-curly-newline": ["error", { "multiline": true, "minProperties": 5 }],
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
"import/extensions": [0],
"no-console": "off"
}
}