Skip to content

Commit b1c501a

Browse files
committed
feat: update docs script
1 parent e6eec3c commit b1c501a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/rules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Available Rules
22

3-
- :star: mark: the rule which is enabled by `plugin:@intlify/svelte/recommended` or `*.configs["flat/recommended"]` preset.
3+
- :star: mark: the rule which is enabled by the `plugin:@intlify/svelte/recommended` or `*.configs.["flat/recommended"]` preset.
44
- :black_nib: mark: the rule which is fixable by `eslint --fix` command.
55

66
## Recommended

scripts/update-docs-index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ writeFileSync(
3737
resolve(__dirname, '../docs/rules/README.md'),
3838
`# Available Rules
3939
40-
- :star: mark: the rule which is enabled by \`plugin:@intlify/svelte/recommended\` preset.
40+
- :star: mark: the rule which is enabled by the \`plugin:@intlify/svelte/recommended\` or \`*.configs.["flat/recommended"]\` preset.
4141
- :black_nib: mark: the rule which is fixable by \`eslint --fix\` command.
4242
4343
${withCategories

scripts/update-rule-docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function updateRuleDocs(): Promise<void> {
9090
}
9191
} else if (rule.recommended) {
9292
headerLines.push(
93-
'- :star: The `"extends": "plugin:@intlify/svelte/recommended"` property in a configuration file enables this rule.'
93+
'- :star: The `"extends": "plugin:@intlify/svelte/recommended"` or `*.configs["flat/recommended"]` property in a configuration file enables this rule.'
9494
)
9595
}
9696

0 commit comments

Comments
 (0)