Fix bugs and clean noise reduction
This commit is contained in:
@@ -62,6 +62,13 @@ module.exports = tseslint.config(
|
||||
],
|
||||
processor: angular.processInlineTemplates,
|
||||
rules: {
|
||||
'@angular-eslint/component-max-inline-declarations': [
|
||||
'error',
|
||||
{
|
||||
template: 3,
|
||||
styles: 0
|
||||
}
|
||||
],
|
||||
'no-dashes/no-unicode-dashes': 'error',
|
||||
'@typescript-eslint/no-extraneous-class': 'off',
|
||||
'@angular-eslint/component-class-suffix': [ 'error', { suffixes: ['Component','Page','Stub'] } ],
|
||||
@@ -141,6 +148,15 @@ module.exports = tseslint.config(
|
||||
'@stylistic/js/space-in-parens': 'error',
|
||||
'@stylistic/js/space-unary-ops': 'error',
|
||||
'@stylistic/js/spaced-comment': ['error','always',{ markers:['/'] }],
|
||||
'@stylistic/js/array-bracket-spacing': 'error',
|
||||
'@stylistic/js/array-element-newline': ['error', {
|
||||
multiline: true,
|
||||
minItems: 3
|
||||
}],
|
||||
'@stylistic/js/array-bracket-newline': ['error', {
|
||||
multiline: true,
|
||||
minItems: 3
|
||||
}],
|
||||
"import-newlines/enforce": [
|
||||
"error",
|
||||
2
|
||||
|
||||
Reference in New Issue
Block a user