discord-bot/.eslintrc.json

56 lines
1.2 KiB
JSON
Raw Normal View History

2018-12-28 22:27:03 +01:00
{
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".ts"
]
}
}
},
2018-12-28 22:27:03 +01:00
"rules": {
"@typescript-eslint/explicit-function-return-type": "error",
2020-07-18 20:51:34 +02:00
"@typescript-eslint/typedef": [ "error", {
"arrowParameter": false
} ],
"@typescript-eslint/unbound-method": [ "off" ],
"import/extensions": [
"error",
{
"ts": "never",
"json": "always"
}
],
"import/no-cycle": "off",
"import/order": [ "error" ],
"import/prefer-default-export": "off",
2018-12-28 22:27:03 +01:00
"no-console": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": false
}
2020-07-19 00:01:58 +02:00
],
"no-void": "off"
2018-12-28 22:27:03 +01:00
}
}