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

35 lines
952 B
JSON
Raw Normal View History

2021-10-05 02:05:34 +02:00
{
"env": {
"browser": true,
2021-12-14 16:08:54 +01:00
"commonjs": true,
"jest": true
2021-10-05 02:05:34 +02:00
},
"extends": [
"airbnb-base",
"plugin:cypress/recommended"
2021-10-05 02:05:34 +02:00
],
"globals": {
// designer is a global currently used as a hack. Remove this when fixing the hack.
"designer": true
},
2021-10-06 04:08:42 +02:00
"rules": {
2021-12-14 16:08:54 +01:00
"no-underscore-dangle": "off",
2021-12-03 19:58:25 +01:00
"no-plusplus": "off",
2021-12-19 09:44:08 +01:00
"no-param-reassign": "off",
2021-12-19 19:29:56 +01:00
"max-len": [1,250],
"class-methods-use-this": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["!cypress/**/*.js"]}],
"func-names": ["error", "as-needed"],
"no-unused-vars": ["error", { "args": "none" }],
"camelcase": ["error", {"allow": ["XML"]}],
"new-cap": ["error", { "properties": false }]
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./webpack.common.js"
}
}
}
}