Fix "glob-parent" vulnerability; update tslint and tsconfig

This commit is contained in:
Valentina 2022-02-01 11:17:23 +02:00
commit 58b5d0d9c0
3 changed files with 33 additions and 4 deletions

View file

@ -46,6 +46,7 @@
"forin": true,
"jsdoc-format": true,
"label-position": true,
"indent": [true, "tabs", 2],
"member-access": [
true,
"no-public"
@ -60,6 +61,10 @@
"no-default-export": true,
"no-duplicate-variable": true,
"no-inferrable-types": true,
"ordered-imports": [true, {
"import-sources-order": "any",
"named-imports-order": "case-insensitive"
}],
"no-namespace": [
true,
"allow-declarations"
@ -82,11 +87,27 @@
"ignore-bound-class-methods"
],
"switch-default": true,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"triple-equals": [
true,
"allow-null-check"
],
"use-isnan": true,
"quotemark": [
true,
"single"
],
"quotes": [
"error",
"single"