mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
update .codeclimate.yml, .eslintrc
This commit is contained in:
parent
32c63d4aaf
commit
4971a3b214
@ -1,6 +1,10 @@
|
|||||||
engines:
|
engines:
|
||||||
eslint:
|
eslint:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
channel: "eslint-3"
|
||||||
|
config:
|
||||||
|
ignore_warnings: true
|
||||||
|
config: .eslintrc
|
||||||
stylelint:
|
stylelint:
|
||||||
enabled: true
|
enabled: true
|
||||||
duplication:
|
duplication:
|
||||||
|
@ -15,9 +15,8 @@
|
|||||||
"react/prefer-es6-class": [0],
|
"react/prefer-es6-class": [0],
|
||||||
"react/prefer-stateless-function": [0],
|
"react/prefer-stateless-function": [0],
|
||||||
"react/forbid-prop-types": [0],
|
"react/forbid-prop-types": [0],
|
||||||
/* to allow importing 'gatsby-helpers' */
|
|
||||||
"import/no-extraneous-dependencies": [0],
|
"import/no-extraneous-dependencies": [0],
|
||||||
"comma-dangle": ["error", {"functions": "ignore"}],
|
"comma-dangle": ["error", "never"],
|
||||||
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
|
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
|
||||||
"import/no-unresolved": [0],
|
"import/no-unresolved": [0],
|
||||||
"import/extensions": [0],
|
"import/extensions": [0],
|
||||||
|
Loading…
Reference in New Issue
Block a user