feat(typescript): Rule "no-namespace"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
933e1f6356
commit
07a5bddd6b
@ -367,7 +367,7 @@
|
|||||||
- [X] "no-magic-numbers"
|
- [X] "no-magic-numbers"
|
||||||
- [ ] "no-misused-new"
|
- [ ] "no-misused-new"
|
||||||
- [ ] "no-misused-promises"
|
- [ ] "no-misused-promises"
|
||||||
- [ ] "no-namespace"
|
- [X] "no-namespace"
|
||||||
- [ ] "no-non-null-asserted-optional-chain"
|
- [ ] "no-non-null-asserted-optional-chain"
|
||||||
- [ ] "no-non-null-assertion"
|
- [ ] "no-non-null-assertion"
|
||||||
- [ ] "no-parameter-properties"
|
- [ ] "no-parameter-properties"
|
||||||
|
@ -60,6 +60,13 @@
|
|||||||
"ignoreReadonlyClassProperties": true
|
"ignoreReadonlyClassProperties": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/no-namespace": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowDeclarations": true,
|
||||||
|
"allowDefinitionFiles": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/quotes": [
|
"@typescript-eslint/quotes": [
|
||||||
"error",
|
"error",
|
||||||
"double",
|
"double",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user