rickvanlieshout.com/.eslintrc

65 lines
1.2 KiB
Plaintext
Raw Normal View History

{
2017-08-20 13:43:49 +02:00
"parser": "babel-eslint",
2018-11-09 18:08:48 +01:00
"extends": "airbnb-base",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest/globals": true
},
"plugins": [
"react",
2018-11-09 18:08:48 +01:00
"jest",
"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": {
2018-11-09 18:08:48 +01:00
"comma-dangle": 0,
"import/imports-first": 0,
"global-require": 0,
"class-methods-use-this": 0,
"arrow-body-style": [
2,
"as-needed"
],
"arrow-parens": [
"error",
"always"
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"no-debugger": 0,
"dot-notation": 0,
"no-console": 0,
"new-cap": 0,
"strict": 0,
"no-param-reassign": [
"error",
{
"props": false
}
],
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"eol-last": 0,
"no-shadow": 0,
"quotes": [
2,
"single"
],
"jsx-quotes": [
0,
"prefer-single"
],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
2017-03-07 16:46:07 +01:00
}
2017-08-20 13:43:49 +02:00
}