Skip to content

Commit

Permalink
Angular: disable rule disallowing use of signals (#231)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Fischl <[email protected]>
  • Loading branch information
jakob0fischl authored Apr 30, 2024
1 parent faaa103 commit 4a7a387
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ export const angularTemplateEslintRules: TSESLint.Linter.RulesRecord = {
// does not work with custom input components
[`${pluginPrefix}/label-has-associated-control`]: 'off',
[`${pluginPrefix}/no-any`]: ['error'],
[`${pluginPrefix}/no-call-expression`]: [
'error',
{
// support for transloco
allowList: ['t'],
},
],
// disabled as there is no way to allow signals only and is unlikely to ever be supported
// see: https://github.com/angular-eslint/angular-eslint/issues/1380
[`${pluginPrefix}/no-call-expression`]: 'off',
[`${pluginPrefix}/no-duplicate-attributes`]: ['error'],
[`${pluginPrefix}/no-inline-styles`]: ['error'],
[`${pluginPrefix}/no-interpolation-in-attributes`]: ['error'],
Expand Down

0 comments on commit 4a7a387

Please sign in to comment.