Skip to content

Commit 91a01e1

Browse files
authored
fix(eslint-plugin-template): [no-interpolation-in-attributes] disallow extra properties in options (#2586)
1 parent 3b8454e commit 91a01e1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/eslint-plugin-template/docs/rules/prefer-contextual-for-variables.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ interface Options {
5656
* Aliases for $odd that are allowed to be used.
5757
*/
5858
$odd?: string[];
59-
[k: string]: unknown;
6059
};
6160
}
6261

packages/eslint-plugin-template/src/rules/prefer-contextual-for-variables.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export default createESLintRule<Options, MessageIds>({
9898
description: 'Aliases for $odd that are allowed to be used.',
9999
},
100100
},
101+
additionalProperties: false,
101102
},
102103
},
103104
additionalProperties: false,

0 commit comments

Comments
 (0)