[O] Optimize tslint rules
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@
|
|||||||
],
|
],
|
||||||
|
|
||||||
// Custom
|
// Custom
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true,
|
||||||
|
"strictPropertyInitialization": false
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.ts",
|
"src/**/*.ts",
|
||||||
|
|||||||
+2
-4
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user