|
| 1 | +{ |
| 2 | + "tasks": { |
| 3 | + // Format |
| 4 | + "format": "deno fmt modules/", |
| 5 | + "format:check": "deno fmt --check modules/", |
| 6 | + |
| 7 | + // Check |
| 8 | + "check": "deno check modules/**/*.ts", |
| 9 | + |
| 10 | + // Lint |
| 11 | + "lint": "deno lint modules/", |
| 12 | + "lint:fix": "deno lint --fix modules/" |
| 13 | + }, |
| 14 | + "lint": { |
| 15 | + "include": ["src/"], |
| 16 | + "exclude": ["tests/"], |
| 17 | + "rules": { |
| 18 | + "exclude": ["no-empty-interface", "no-explicit-any", "require-await"] |
| 19 | + } |
| 20 | + }, |
| 21 | + "fmt": { |
| 22 | + "useTabs": true |
| 23 | + }, |
| 24 | + "compilerOptions": { |
| 25 | + "strict": true, |
| 26 | + "noImplicitAny": true, |
| 27 | + "strictNullChecks": true, |
| 28 | + "strictFunctionTypes": true, |
| 29 | + "strictBindCallApply": true, |
| 30 | + "strictPropertyInitialization": true, |
| 31 | + "noImplicitThis": true, |
| 32 | + "useUnknownInCatchVariables": true, |
| 33 | + "alwaysStrict": true, |
| 34 | + // "noUnusedLocals": true, |
| 35 | + // "noUnusedParameters": true, |
| 36 | + // "exactOptionalPropertyTypes": true, |
| 37 | + "noImplicitReturns": true, |
| 38 | + "noFallthroughCasesInSwitch": true, |
| 39 | + "noUncheckedIndexedAccess": true, |
| 40 | + "noImplicitOverride": true, |
| 41 | + // "noPropertyAccessFromIndexSignature": true, |
| 42 | + "allowUnusedLabels": true, |
| 43 | + "allowUnreachableCode": true, |
| 44 | + "noImplicitAny": true |
| 45 | + } |
| 46 | +} |
0 commit comments