fix(rules/tsconfig): correctly enforce lib/target for esnext
This commit is contained in:
parent
d11f3d68e0
commit
62d58fe3a9
|
@ -33,9 +33,9 @@ rules:
|
||||||
check:
|
check:
|
||||||
not:
|
not:
|
||||||
anyOf:
|
anyOf:
|
||||||
|
- required: [alwaysStrict]
|
||||||
- required: [noImplicitAny]
|
- required: [noImplicitAny]
|
||||||
- required: [noImplicitThis]
|
- required: [noImplicitThis]
|
||||||
- required: [alwaysStrict]
|
|
||||||
- required: [strictBindCallApply]
|
- required: [strictBindCallApply]
|
||||||
- required: [strictNullChecks]
|
- required: [strictNullChecks]
|
||||||
- required: [strictFunctionTypes]
|
- required: [strictFunctionTypes]
|
||||||
|
@ -57,7 +57,7 @@ rules:
|
||||||
type: array
|
type: array
|
||||||
target:
|
target:
|
||||||
type: string
|
type: string
|
||||||
pattern: "^es[0-9]+$"
|
pattern: "^es([0-9]+|next)$"
|
||||||
|
|
||||||
check:
|
check:
|
||||||
allOf:
|
allOf:
|
||||||
|
|
Loading…
Reference in New Issue