mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 11:43:48 +01:00
52 lines
837 B
JSON
52 lines
837 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
|
|
],
|
|
// 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": {
|
|
"node": {
|
|
"extensions": [
|
|
".js",
|
|
".ts"
|
|
]
|
|
},
|
|
"webpack": {
|
|
"config": "./webpack.common.js"
|
|
}
|
|
}
|
|
}
|
|
} |