[O] Optimize tslint rules

This commit is contained in:
Hykilpikonna
2019-12-22 22:17:20 -05:00
parent 4c5f2bdc03
commit fd038ea4b1
2 changed files with 4 additions and 5 deletions
+2 -1
View File
@@ -27,7 +27,8 @@
], ],
// Custom // Custom
"resolveJsonModule": true "resolveJsonModule": true,
"strictPropertyInitialization": false
}, },
"include": [ "include": [
"src/**/*.ts", "src/**/*.ts",
+2 -4
View File
@@ -1,15 +1,13 @@
{ {
"defaultSeverity": "warning", "defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": { "linterOptions": {
"exclude": [ "exclude": [
"node_modules/**" "node_modules/**"
] ]
}, },
"rules": { "rules": {
"indent": [true, "spaces", 2], "indent": [true, "spaces", 4],
"curly": false,
"interface-name": false, "interface-name": false,
"no-consecutive-blank-lines": false, "no-consecutive-blank-lines": false,
"object-literal-sort-keys": false, "object-literal-sort-keys": false,