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" "plugin:@angular-eslint/template/process-inline-templates"
], ],
"rules": { "rules": {
// "@typescript-eslint/naming-convention": [ // "@typescript-eslint/naming-convention": [
// "off" // "off"
// ], // ],
"prefer-arrow/prefer-arrow-functions": [ "prefer-arrow/prefer-arrow-functions": [
"off" "off"
], ],
// "@typescript-eslint/member-ordering": [svn // "@typescript-eslint/member-ordering": [svn
// "on" // "on"
// ], // ],
"@typescript-eslint/ban-types": [ "@typescript-eslint/ban-types": [
"off" "error",
{
"types": {
"Object": {
"message": "Use {} instead",
"fixWith": "{}"
},
"{}": false
}
}
], ],
"@angular-eslint/component-selector": [ "@angular-eslint/component-selector": [
"off", "off",