Skip to content

Commit

Permalink
chore: enable also toml formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 4, 2023
1 parent 2cbd287 commit 924e913
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
6 changes: 1 addition & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import antfu from '@antfu/eslint-config'
export default antfu(
{
unocss: true,
formatters: {
html: true,
css: true,
markdown: true,
},
formatters: true,
},
)
18 changes: 9 additions & 9 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[build.environment]
NODE_VERSION = "20"
NODE_VERSION = "20"

[build]
publish = "dist"
command = "pnpm run build"
publish = "dist"
command = "pnpm run build"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
from = "/*"
to = "/index.html"
status = 200

[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"vue-router": "^4.2.5"
},
"devDependencies": {
"@antfu/eslint-config": "^2.3.0",
"@antfu/eslint-config": "^2.3.1",
"@iconify-json/carbon": "^1.1.24",
"@intlify/unplugin-vue-i18n": "^1.5.0",
"@types/markdown-it-link-attributes": "^3.0.4",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

0 comments on commit 924e913

Please sign in to comment.