feat(rules/tsconfig): check for suppressed errors
This commit is contained in:
parent
37c0dbbeef
commit
d11f3d68e0
|
@ -1,6 +1,20 @@
|
||||||
name: salty-dog-tsconfig
|
name: salty-dog-tsconfig
|
||||||
rules:
|
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
|
desc: omit redundant strict mode options
|
||||||
level: info
|
level: info
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue