mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
19353a9423
Eslint prettier config * config eslint + manual fixes * Merge branch 'develop' into eslint-prettier-config * fixes eslint web2d Approved-by: Paulo Veiga
46 lines
1002 B
JSON
46 lines
1002 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:cypress/recommended"
|
|
],
|
|
"rules": {
|
|
"no-restricted-syntax": "off",
|
|
"no-underscore-dangle": "off",
|
|
"no-plusplus": "off",
|
|
"max-len": [1,250],
|
|
"import/no-extraneous-dependencies": ["warn", {
|
|
"packageDir": ["./"],
|
|
"devDependencies": ["!cypress/**/*.js"]
|
|
}],
|
|
// ignore errors when a line finishes with (setting this value to 0 ignores all errors)
|
|
"operator-linebreak": [
|
|
"error", "after", {
|
|
"overrides": {
|
|
"+": "ignore",
|
|
"-": "ignore",
|
|
":": "ignore",
|
|
"*": "ignore",
|
|
"?": "ignore",
|
|
">": "ignore",
|
|
"||": "ignore",
|
|
"&&": "ignore",
|
|
"(": "ignore"
|
|
}
|
|
}
|
|
],
|
|
"object-curly-newline": "off",
|
|
"indent": "off"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"webpack": {
|
|
"config": "./webpack.common.js"
|
|
}
|
|
}
|
|
}
|
|
}
|