Skip to content

Commit 98b9f70

Browse files
fix: disallow extra properties in rule options (#652)
* fix: disallow extra properties in rule options * Create unlucky-grapes-tie.md --------- Co-authored-by: Yosuke Ota <[email protected]>
1 parent dc1e9f0 commit 98b9f70

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/unlucky-grapes-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@intlify/eslint-plugin-vue-i18n": minor
3+
---
4+
5+
fix(no-raw-text): disallow extra properties in rule options

lib/rules/no-raw-text.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@ export = createRule({
839839
ignoreText: {
840840
type: 'array'
841841
}
842-
}
842+
},
843+
additionalProperties: false
843844
}
844845
]
845846
},

0 commit comments

Comments
 (0)