wisemapping-frontend/packages/web2d/.eslintrc.json

46 lines
1002 B
JSON
Raw Normal View History

2021-10-05 01:56:40 +02:00
{
"env": {
"browser": true,
2021-12-19 18:07:01 +01:00
"es6": true
2021-10-05 01:56:40 +02:00
},
"extends": [
"airbnb-base",
"plugin:cypress/recommended"
2021-10-06 04:08:42 +02:00
],
"rules": {
"no-restricted-syntax": "off",
2021-12-14 18:06:09 +01:00
"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"
}
}
}
}