mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
d01c9d2dac
This drops usage of finn-eslint rules as they are no longer maintained.
32 lines
735 B
Plaintext
32 lines
735 B
Plaintext
{
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": ["airbnb-base", "prettier"],
|
|
"parserOptions": {
|
|
"ecmaVersion": "2018"
|
|
},
|
|
"plugins": ["prettier"],
|
|
"root": true,
|
|
"rules": {
|
|
"class-methods-use-this": [0],
|
|
"prettier/prettier": ["error"],
|
|
"func-names": "off",
|
|
"strict": [0, "global"],
|
|
"no-underscore-dangle": "off",
|
|
"no-plusplus": "off",
|
|
"no-param-reassign": "error",
|
|
"no-return-await": "error",
|
|
"max-nested-callbacks": "off",
|
|
"new-cap": [
|
|
"error",
|
|
{
|
|
"capIsNewExceptions": [
|
|
"Router",
|
|
"Mitm"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|