style: update eslint of ban-types

This commit is contained in:
禾几海
2021-03-12 17:38:19 +08:00
parent 6bfb42e43d
commit 7f4e4568e5

View File

@@ -21,17 +21,26 @@
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
// "@typescript-eslint/naming-convention": [
// "off"
// ],
// "@typescript-eslint/naming-convention": [
// "off"
// ],
"prefer-arrow/prefer-arrow-functions": [
"off"
],
// "@typescript-eslint/member-ordering": [svn
// "on"
// ],
// "@typescript-eslint/member-ordering": [svn
// "on"
// ],
"@typescript-eslint/ban-types": [
"off"
"error",
{
"types": {
"Object": {
"message": "Use {} instead",
"fixWith": "{}"
},
"{}": false
}
}
],
"@angular-eslint/component-selector": [
"off",