1
0
Fork 0

feat(rules/tsconfig): check for suppressed errors

This commit is contained in:
ssube 2019-06-30 17:45:59 -05:00
parent 37c0dbbeef
commit d11f3d68e0
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 15 additions and 1 deletions

View File

@ -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: