|
25 | 25 | "license": "MIT",
|
26 | 26 | "author": "Ben Monro",
|
27 | 27 | "main": "dist/index.js",
|
| 28 | + "types": "index.d.ts", |
28 | 29 | "files": [
|
29 |
| - "dist" |
| 30 | + "dist", |
| 31 | + "index.d.ts" |
30 | 32 | ],
|
31 | 33 | "scripts": {
|
32 | 34 | "build": "kcd-scripts build",
|
|
46 | 48 | "consistent-return": "off",
|
47 | 49 | "max-lines-per-function": "off",
|
48 | 50 | "testing-library/no-dom-import": "off"
|
49 |
| - } |
| 51 | + }, |
| 52 | + "overrides": [ |
| 53 | + { |
| 54 | + "files": [ |
| 55 | + "**/*.ts" |
| 56 | + ], |
| 57 | + "rules": { |
| 58 | + "@typescript-eslint/await-thenable": "off", |
| 59 | + "@typescript-eslint/dot-notation": "off", |
| 60 | + "@typescript-eslint/no-base-to-string": "off", |
| 61 | + "@typescript-eslint/no-floating-promises": "off", |
| 62 | + "@typescript-eslint/no-implied-eval": "off", |
| 63 | + "@typescript-eslint/no-misused-promises": "off", |
| 64 | + "@typescript-eslint/no-throw-literal": "off", |
| 65 | + "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off", |
| 66 | + "@typescript-eslint/no-unnecessary-condition": "off", |
| 67 | + "@typescript-eslint/no-unnecessary-qualifier": "off", |
| 68 | + "@typescript-eslint/no-unnecessary-type-assertion": "off", |
| 69 | + "@typescript-eslint/no-unsafe-argument": "off", |
| 70 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 71 | + "@typescript-eslint/no-unsafe-call": "off", |
| 72 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 73 | + "@typescript-eslint/no-unsafe-return": "off", |
| 74 | + "@typescript-eslint/prefer-includes": "off", |
| 75 | + "@typescript-eslint/prefer-nullish-coalescing": "off", |
| 76 | + "@typescript-eslint/prefer-reduce-type-parameter": "off", |
| 77 | + "@typescript-eslint/prefer-string-starts-ends-with": "off", |
| 78 | + "@typescript-eslint/restrict-plus-operands": "off", |
| 79 | + "@typescript-eslint/return-await": "off", |
| 80 | + "@typescript-eslint/switch-exhaustiveness-check": "off", |
| 81 | + "@typescript-eslint/unbound-method": "off" |
| 82 | + } |
| 83 | + } |
| 84 | + ] |
50 | 85 | },
|
51 | 86 | "eslintIgnore": [
|
52 | 87 | "node_modules",
|
|
0 commit comments