UNPKG

830 BJSONView Raw
1{
2 "settings": {
3 "cache": true
4 },
5 "parser": "@typescript-eslint/parser",
6 "parserOptions": {
7 "project": "./tsconfig.json"
8 },
9 "env": {
10 "node": true,
11 "es6": true
12 },
13 "plugins": ["@typescript-eslint"],
14 "extends": [
15 "eslint:recommended",
16 "plugin:@typescript-eslint/eslint-recommended",
17 "plugin:@typescript-eslint/recommended",
18 "prettier",
19 "prettier/@typescript-eslint"
20 ],
21 "rules": {
22 "@typescript-eslint/explicit-function-return-type": "off",
23 "@typescript-eslint/no-explicit-any": "error",
24 "@typescript-eslint/await-thenable": "error",
25 "@typescript-eslint/no-require-imports": "error",
26 "@typescript-eslint/no-unnecessary-type-assertion": "error",
27 "@typescript-eslint/promise-function-async": "error",
28 "@typescript-eslint/unbound-method": "error"
29 }
30}