Skip to content

Commit 41ed812

Browse files
authored
refactor: use eslint-config-prettier/flat directly (#897)
1 parent 2cdc5a4 commit 41ed812

File tree

4 files changed

+7
-78
lines changed

4 files changed

+7
-78
lines changed

playground

Submodule playground updated 937 files

pnpm-lock.yaml

Lines changed: 4 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template/linting/prettier/eslint.config.js.data.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function getData({ oldData }) {
44
configs: [
55
...oldData.configs,
66
{
7-
importer: `import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'`,
7+
importer: `import skipFormatting from 'eslint-config-prettier/flat'`,
88
content: `\n skipFormatting,`,
99
},
1010
],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"@vue/eslint-config-prettier": "^10.2.0",
3+
"eslint-config-prettier": "^10.1.8",
44
"prettier": "3.8.0"
55
}
66
}

0 commit comments

Comments
 (0)