diff --git a/rules/tsconfig.yml b/rules/tsconfig.yml index b2aaf6a..7b72c31 100644 --- a/rules/tsconfig.yml +++ b/rules/tsconfig.yml @@ -1,6 +1,20 @@ name: salty-dog-tsconfig rules: - - name: strict + - name: allow-errors + desc: do not suppress errors + level: info + tags: + - tsconfig + - errors + + select: '$.compilerOptions' + check: + not: + anyOf: + - required: [suppressExcessPropertyErrors] + - required: [suppressImplicitAnyIndexErrors] + + - name: redundant-strict desc: omit redundant strict mode options level: info tags: