1 | {
|
2 | "parser": "@typescript-eslint/parser",
|
3 | "plugins": [
|
4 | "@typescript-eslint"
|
5 | ],
|
6 | "settings": {
|
7 | "import/parsers": {
|
8 | "@typescript-eslint/parser": [
|
9 | ".ts"
|
10 | ]
|
11 | }
|
12 | },
|
13 | "extends": [
|
14 | "plugin:@typescript-eslint/recommended",
|
15 | "prettier/@typescript-eslint"
|
16 | ],
|
17 | "rules": {
|
18 | "lodash/prefer-lodash-typecheck": "off",
|
19 | "@typescript-eslint/no-explicit-any": "off",
|
20 | "@typescript-eslint/explicit-function-return-type": "off",
|
21 | "@typescript-eslint/camelcase": [
|
22 | "error",
|
23 | {
|
24 | "properties": "never",
|
25 | "ignoreDestructuring": true
|
26 | }
|
27 | ],
|
28 | "@typescript-eslint/member-ordering": "error",
|
29 | "@typescript-eslint/no-extraneous-class": "error",
|
30 | "@typescript-eslint/no-namespace": [
|
31 | "error",
|
32 | {
|
33 | "allowDeclarations": true
|
34 | }
|
35 | ],
|
36 | "@typescript-eslint/no-type-alias": [
|
37 | "error",
|
38 | {
|
39 | "allowAliases": "in-unions",
|
40 | "allowCallbacks": "always"
|
41 | }
|
42 | ],
|
43 | "@typescript-eslint/no-inferrable-types": [
|
44 | "error",
|
45 | {
|
46 | "ignoreProperties": true,
|
47 | "ignoreParameters": true
|
48 | }
|
49 | ],
|
50 | "@typescript-eslint/no-empty-interface": "off",
|
51 | "@typescript-eslint/indent": "off",
|
52 | "no-mixed-operators": "off",
|
53 | "implicit-arrow-linebreak": "off"
|
54 | }
|
55 | } |
\ | No newline at end of file |