mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 03:07:57 +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"
|
|
}
|
|
}
|
|
}
|
|
} |