wisemapping-frontend/packages/mindplot/.eslintrc.json
Matias Arriola b5fd708971 Merged in feature/mindplot-lint (pull request #11)
mindplot lint

* fix eqeqeq

* fix max-len

* fix max-len, guard-for-in

* fix import/no-named-as-default-member

* misc fixes

* fix no-shadow

* fix no-param-reassign

* fix issues introduced with "fix no-param-reassign"

* Merge 'origin/develop' into feature/mindplot-lint

* lint and docs fixes after merge


Approved-by: Paulo Veiga
2021-12-20 20:54:31 +00:00

37 lines
1.1 KiB
JSON

{
"env": {
"browser": true,
"commonjs": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:cypress/recommended"
],
"globals": {
// Browser is a mootools polyfill. Remove when moving from browser checks to feature detection
"Browser": true,
// 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"
}
}
}
}