config: add prefer-template to eslint and tslint
This commit is contained in:
parent
946fe6f487
commit
dd3fd42fea
@ -12,7 +12,8 @@
|
||||
"rules": {
|
||||
"no-shadow": "warn",
|
||||
"no-magic-numbers": ["warn", { "ignore": [0, 1, -1] }],
|
||||
"no-param-reassign": "warn"
|
||||
"no-param-reassign": "warn",
|
||||
"prefer-template": "warn"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
@ -24,7 +24,8 @@
|
||||
"no-magic-numbers": [true, -1, 0, 1],
|
||||
"no-parameter-reassignment": true,
|
||||
"arrow-return-shorthand": true,
|
||||
"no-default-export": true
|
||||
"no-default-export": true,
|
||||
"prefer-template": true
|
||||
},
|
||||
"jsRules": true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user