artproject/.eslintrc.json

46 lines
845 B
JSON

{
"parser": "babel-eslint",
"extends": "airbnb-base",
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"plugins": [
"import"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"arrow-body-style": [
1,
"as-needed"
],
"comma-dangle": [
1,
"only-multiline"
],
"import/imports-first": 0,
"import/newline-after-import": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/no-unresolved": 2,
"import/prefer-default-export": 0,
"indent": [
2,
2, {
"SwitchCase": 1
}
],
"max-len": 0,
"newline-per-chained-call": 0,
"no-console": 1,
"no-use-before-define": 0,
"prefer-template": 2,
"require-yield": 0
}
}