1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.eslintrc

33 lines
779 B
Plaintext
Raw Normal View History

{
"env": {
"node": true
},
"extends": ["airbnb-base", "prettier"],
"parserOptions": {
"ecmaVersion": "2018"
},
"plugins": ["prettier"],
"root": true,
2016-11-10 15:52:49 +01:00
"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",
2017-06-28 10:17:14 +02:00
"max-nested-callbacks": "off",
"new-cap": [
"error",
{
"capIsNewExceptions": [
"Router",
"Mitm"
]
}
]
2020-12-04 09:33:50 +01:00
},
"ignorePatterns": ["**/docs/api/oas/"]
2016-11-10 15:52:49 +01:00
}