update .codeclimate.yml, .eslintrc

This commit is contained in:
wpioneer 2017-08-21 03:11:59 +03:00
parent 32c63d4aaf
commit 4971a3b214
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,10 @@
engines:
eslint:
enabled: true
channel: "eslint-3"
config:
ignore_warnings: true
config: .eslintrc
stylelint:
enabled: true
duplication:

View File

@ -15,9 +15,8 @@
"react/prefer-es6-class": [0],
"react/prefer-stateless-function": [0],
"react/forbid-prop-types": [0],
/* to allow importing 'gatsby-helpers' */
"import/no-extraneous-dependencies": [0],
"comma-dangle": ["error", {"functions": "ignore"}],
"comma-dangle": ["error", "never"],
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
"import/no-unresolved": [0],
"import/extensions": [0],