Skip to content

Commit e65870e

Browse files
committed
feat(angular-template-rules): turn off no-inline-styles
1 parent ee81243 commit e65870e

File tree

1 file changed

+2
-0
lines changed
  • packages/eslint-config-recommended/src/angular

1 file changed

+2
-0
lines changed

packages/eslint-config-recommended/src/angular/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ export function defineScAngularConfig(...configs: Parameters<typeof defineConfig
8282
files: ['**/*.html'],
8383
extends: [...eslintAngular.configs.templateRecommended],
8484
rules: {
85+
'@angular-eslint/template/no-inline-styles': 'off', // also disallows custom properties like style="--my-prop: value".
86+
8587
'@angular-eslint/template/no-duplicate-attributes': 'error',
8688
'@angular-eslint/template/button-has-type': 'error',
8789
'@angular-eslint/template/prefer-control-flow': 'error',

0 commit comments

Comments
 (0)