|
3 | 3 | "parser": "@typescript-eslint/parser",
|
4 | 4 | "parserOptions": { "project": "./tsconfig.json" },
|
5 | 5 | "env": { "es6": true },
|
6 |
| - "ignorePatterns": ["node_modules", "build", "coverage"], |
| 6 | + "ignorePatterns": [ |
| 7 | + "node_modules", |
| 8 | + "build", |
| 9 | + "coverage", |
| 10 | + "src/lib/schema/ajv/*.js" |
| 11 | + ], |
7 | 12 | "extends": ["bitauth"],
|
8 |
| - "globals": { "BigInt": true, "console": true, "WebAssembly": true }, |
| 13 | + // "globals": { "BigInt": true, "console": true, "WebAssembly": true }, |
9 | 14 | "rules": {
|
10 |
| - "@typescript-eslint/prefer-readonly-parameter-types": "off", // TODO: enable when Uint8Array can be made readonly, see `Immutable` type |
11 |
| - "@typescript-eslint/no-unused-expressions": "off", // TODO: bug causes crash in eslint 7.2.0 – re-enable later |
12 |
| - "@typescript-eslint/naming-convention": [ |
13 |
| - "error", |
14 |
| - { |
15 |
| - "selector": "default", |
16 |
| - "format": ["camelCase"], |
17 |
| - "leadingUnderscore": "allow" |
18 |
| - }, |
19 |
| - { |
20 |
| - "selector": "variable", |
21 |
| - "format": ["camelCase", "UPPER_CASE"], |
22 |
| - "leadingUnderscore": "allow" |
23 |
| - }, |
24 |
| - { "selector": "typeLike", "format": ["PascalCase"] }, |
25 |
| - { "selector": "enumMember", "format": ["camelCase", "UPPER_CASE"] } // Allow UPPER_CASE for opcodes |
26 |
| - ], |
27 |
| - "import/no-internal-modules": ["error"], |
28 |
| - "import/extensions": ["error", "always"] |
| 15 | + "@typescript-eslint/no-unsafe-enum-comparison": "off" |
29 | 16 | },
|
30 | 17 | "overrides": [
|
31 | 18 | /*
|
|
47 | 34 | ]
|
48 | 35 | }
|
49 | 36 | ],
|
50 |
| - "functional/no-expression-statement": "off", |
51 | 37 | "@typescript-eslint/naming-convention": "off",
|
52 | 38 | "@typescript-eslint/no-magic-numbers": "off",
|
| 39 | + "functional/no-expression-statements": "off", |
| 40 | + "functional/no-conditional-statements": "off", |
| 41 | + "functional/functional-parameters": "off", |
53 | 42 | "functional/immutable-data": "off",
|
54 | 43 | "functional/no-return-void": "off"
|
55 | 44 | }
|
|
0 commit comments