mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-14 07:41:50 +01:00
Update eslint config
This commit is contained in:
parent
b0d55f18df
commit
a35d413b35
@ -10,15 +10,15 @@
|
|||||||
"graphql": true
|
"graphql": true
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"global-require": [0],
|
|
||||||
"react/jsx-filename-extension": [0],
|
"react/jsx-filename-extension": [0],
|
||||||
"react/prefer-es6-class": [0],
|
|
||||||
"react/prefer-stateless-function": [0],
|
"react/prefer-stateless-function": [0],
|
||||||
"react/forbid-prop-types": [0],
|
"react/prop-types": [0],
|
||||||
"import/no-extraneous-dependencies": [0],
|
"import/no-extraneous-dependencies": [0],
|
||||||
"comma-dangle": ["error", "never"],
|
"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 }],
|
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
|
||||||
"import/no-unresolved": [0],
|
|
||||||
"import/extensions": [0],
|
"import/extensions": [0],
|
||||||
"no-console": "off"
|
"no-console": "off"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user