Skip to content

Commit 2de2766

Browse files
committed
new prefer-contextual-for-variables lint rule
1 parent 4886763 commit 2de2766

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ module.exports = tseslint.config(
159159
"@angular-eslint/template/cyclomatic-complexity": "error",
160160
"@angular-eslint/template/no-duplicate-attributes": "error",
161161
"@angular-eslint/template/no-interpolation-in-attributes": "error",
162-
"@angular-eslint/template/prefer-static-string-properties": 'error',
162+
"@angular-eslint/template/prefer-static-string-properties": "error",
163+
"@angular-eslint/template/prefer-contextual-for-variables": "error",
163164
"@angular-eslint/template/no-inline-styles": [
164165
"error",
165166
{

0 commit comments

Comments
 (0)