discord-bot/.eslintrc.json
Dominik Korsa c69a408279
Rewrite bot in TypeScript (#45)
* Rewrite bot in TypeScript

* Remove lorem.js file

* Replace tsc with ts-node

* Fix infinite wait for typing to end

* Disable Travis CI on branches other than master

* Fix ping command

* Organize symbol command and interval check

* Remove unnecessary comment

* Split up GitHub utility functions

* Split up app version utility functions

* Split up UONET status utility functions

* Update CONTRIBUTING.md
2020-04-10 20:38:25 +02:00

52 lines
1.1 KiB
JSON

{
"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"
]
}
}
},
"rules": {
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/typedef": [ "error" ],
"@typescript-eslint/unbound-method": [ "off" ],
"import/extensions": [
"error",
{
"ts": "never",
"json": "always"
}
],
"import/no-cycle": "off",
"import/order": [ "error" ],
"import/prefer-default-export": "off",
"no-console": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": false
}
]
}
}