wisemapping-frontend/packages/web2d/.eslintrc.json
Gustavo Fuhr 19353a9423 Merged in eslint-prettier-config (pull request #53)
Eslint prettier config

* config eslint + manual fixes

* Merge branch 'develop' into eslint-prettier-config

* fixes eslint web2d


Approved-by: Paulo Veiga
2022-07-14 03:12:12 +00:00

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"
}
}
}
}