Skip to content

Commit

Permalink
chore: disable prettier in eslint config, do not use it
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 3, 2023
1 parent 0ff5a79 commit 4b67fa5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 43 deletions.
4 changes: 0 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@ import antfu from '@antfu/eslint-config'
export default antfu(
{
unocss: true,
prettier: {
css: true,
html: true,
},
},
)
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
},
"devDependencies": {
"@antfu/eslint-config": "^2.2.0",
"@antfu/eslint-plugin-prettier": "5.0.1-1",
"@iconify-json/carbon": "^1.1.24",
"@intlify/unplugin-vue-i18n": "^1.5.0",
"@types/markdown-it-link-attributes": "^3.0.4",
Expand Down
39 changes: 2 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/layouts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ By default, `default.vue` will be used unless an alternative is specified in the
With [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) and [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts), you can specify the layout in the page's SFCs like this:

```html
<route lang="yaml"> meta: layout: home </route>
<route lang="yaml">
meta:
layout: home
</route>
```

0 comments on commit 4b67fa5

Please sign in to comment.