Update tslint and tsconfigs
This commit is contained in:
Родитель
1564daffb0
Коммит
1047c9616e
|
@ -9,10 +9,6 @@
|
|||
"sourceMap": true,
|
||||
"rootDir": "src",
|
||||
"strict": true /* enable all strict type-checking options */
|
||||
/* Additional Checks */
|
||||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
|
|
@ -1,20 +1,3 @@
|
|||
{
|
||||
"extends": "tslint:recommended",
|
||||
"rules": {
|
||||
"arrow-parens": false,
|
||||
"file-header": [true, "------"],
|
||||
"interface-name": false,
|
||||
"no-console": false,
|
||||
"no-return-await": true,
|
||||
"no-inferrable-types": true,
|
||||
"object-literal-sort-keys": false,
|
||||
"prefer-template": true,
|
||||
"quotemark": [true, "single"],
|
||||
"variable-name": [true, "check-format"],
|
||||
"max-line-length": {
|
||||
"options": {
|
||||
"limit": 200
|
||||
}
|
||||
}
|
||||
}
|
||||
"extends": "../tslint.json"
|
||||
}
|
|
@ -8,12 +8,7 @@
|
|||
],
|
||||
"sourceMap": true,
|
||||
"rootDir": "src",
|
||||
"declaration": true,
|
||||
"strict": true /* enable all strict type-checking options */
|
||||
/* Additional Checks */
|
||||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
|
|
@ -1,20 +1,3 @@
|
|||
{
|
||||
"extends": "tslint:recommended",
|
||||
"rules": {
|
||||
"arrow-parens": false,
|
||||
"file-header": [true, "------"],
|
||||
"interface-name": false,
|
||||
"no-console": false,
|
||||
"no-return-await": true,
|
||||
"no-inferrable-types": true,
|
||||
"object-literal-sort-keys": false,
|
||||
"prefer-template": true,
|
||||
"quotemark": [true, "single"],
|
||||
"variable-name": [true, "check-format"],
|
||||
"max-line-length": {
|
||||
"options": {
|
||||
"limit": 200
|
||||
}
|
||||
}
|
||||
}
|
||||
"extends": "../tslint.json"
|
||||
}
|
|
@ -9,10 +9,6 @@
|
|||
"sourceMap": true,
|
||||
"rootDir": "src",
|
||||
"strict": true /* enable all strict type-checking options */
|
||||
/* Additional Checks */
|
||||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
|
|
@ -1,20 +1,3 @@
|
|||
{
|
||||
"extends": "tslint:recommended",
|
||||
"rules": {
|
||||
"arrow-parens": false,
|
||||
"file-header": [true, "------"],
|
||||
"interface-name": false,
|
||||
"no-console": false,
|
||||
"no-return-await": true,
|
||||
"no-inferrable-types": true,
|
||||
"object-literal-sort-keys": false,
|
||||
"prefer-template": true,
|
||||
"quotemark": [true, "single"],
|
||||
"variable-name": [true, "check-format"],
|
||||
"max-line-length": {
|
||||
"options": {
|
||||
"limit": 200
|
||||
}
|
||||
}
|
||||
}
|
||||
"extends": "../tslint.json"
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"extends": "tslint:recommended",
|
||||
"rules": {
|
||||
"arrow-parens": false,
|
||||
"file-header": [true, "------"],
|
||||
"interface-name": false,
|
||||
"no-console": false,
|
||||
"no-return-await": true,
|
||||
"no-inferrable-types": true,
|
||||
"object-literal-sort-keys": false,
|
||||
"prefer-template": true,
|
||||
"quotemark": [true, "single"],
|
||||
"variable-name": [true, "check-format"],
|
||||
"max-line-length": {
|
||||
"options": {
|
||||
"limit": 200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче