Skip to content

Commit f960148

Browse files
committed
fix
1 parent 08c2fdd commit f960148

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/rules/prefer-const.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This rule reports the same as the base ESLint `prefer-const` rule, except that i
4646
"error",
4747
{
4848
"destructuring": "any",
49-
"ignoreReadonly": true,
49+
"additionalProperties": true,
5050
"excludedRunes": ["$props", "$derived"]
5151
}
5252
]

packages/eslint-plugin-svelte/tests/fixtures/rules/prefer-const/valid/1238/_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"options": [
33
{
44
"destructuring": "all",
5-
"ignoreReadonly": true
5+
"additionalProperties": true
66
}
77
]
88
}

0 commit comments

Comments
 (0)