mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
33 lines
779 B
Plaintext
33 lines
779 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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ignorePatterns": ["**/docs/api/oas/"]
|
|
}
|