wisemapping-frontend/packages/mindplot/.eslintrc.json
2021-12-23 09:56:36 -08:00

35 lines
952 B
JSON

{
"env": {
"browser": true,
"commonjs": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:cypress/recommended"
],
"globals": {
// designer is a global currently used as a hack. Remove this when fixing the hack.
"designer": true
},
"rules": {
"no-underscore-dangle": "off",
"no-plusplus": "off",
"no-param-reassign": "off",
"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"
}
}
}
}