chore: enable also toml formatting

This commit is contained in:
Anthony Fu committed 2023-12-04 18:03:25 +01:00
1 parent 2cbd287bfb
commit 924e913ce9
4 files changed
+16 -20

No files matched your search

+1 -5
View File
@@ -3,10 +3,6 @@ import antfu from '@antfu/eslint-config'
export default antfu( export default antfu(
{ {
unocss: true, unocss: true,
formatters: { formatters: true,
html: true,
css: true,
markdown: true,
},
}, },
) )
+9 -9
View File
@@ -1,16 +1,16 @@
[build.environment] [build.environment]
NODE_VERSION = "20" NODE_VERSION = "20"
[build] [build]
publish = "dist" publish = "dist"
command = "pnpm run build" command = "pnpm run build"
[[redirects]] [[redirects]]
from = "/*" from = "/*"
to = "/index.html" to = "/index.html"
status = 200 status = 200
[[headers]] [[headers]]
for = "/manifest.webmanifest" for = "/manifest.webmanifest"
[headers.values] [headers.values]
Content-Type = "application/manifest+json" Content-Type = "application/manifest+json"
+1 -1
View File
@@ -29,7 +29,7 @@
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^2.3.0", "@antfu/eslint-config": "^2.3.1",
"@iconify-json/carbon": "^1.1.24", "@iconify-json/carbon": "^1.1.24",
"@intlify/unplugin-vue-i18n": "^1.5.0", "@intlify/unplugin-vue-i18n": "^1.5.0",
"@types/markdown-it-link-attributes": "^3.0.4", "@types/markdown-it-link-attributes": "^3.0.4",
+5 -5
View File
@@ -38,8 +38,8 @@ dependencies:
devDependencies: devDependencies:
'@antfu/eslint-config': '@antfu/eslint-config':
specifier: ^2.3.0 specifier: ^2.3.1
version: 2.3.0(eslint-plugin-format@0.0.1)(eslint@8.55.0)(typescript@5.3.2)(vitest@1.0.0) version: 2.3.1(eslint-plugin-format@0.0.1)(eslint@8.55.0)(typescript@5.3.2)(vitest@1.0.0)
'@iconify-json/carbon': '@iconify-json/carbon':
specifier: ^1.1.24 specifier: ^1.1.24
version: 1.1.24 version: 1.1.24
@@ -182,8 +182,8 @@ packages:
'@jridgewell/trace-mapping': 0.3.18 '@jridgewell/trace-mapping': 0.3.18
dev: true dev: true
/@antfu/eslint-config@2.3.0(eslint-plugin-format@0.0.1)(eslint@8.55.0)(typescript@5.3.2)(vitest@1.0.0): /@antfu/eslint-config@2.3.1(eslint-plugin-format@0.0.1)(eslint@8.55.0)(typescript@5.3.2)(vitest@1.0.0):
resolution: {integrity: sha512-7y4b2gScvNRKYTYpsK2XcwTmSAvkMv/4f1JSYWFuJ8Rxpmp56v802G3Xoz+6kXn98T1WJcV0oWSkIa45pGYZ6A==} resolution: {integrity: sha512-GWPvFxzf1wqfRs3PPzAosTRVLGAT7Nf4IHrpXUClFg3075TceHhfrc2SMt/q0fwKFy/pMzGtf0g4e/8xR8Fq5A==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@unocss/eslint-plugin': '>=0.50.0' '@unocss/eslint-plugin': '>=0.50.0'
@@ -8567,7 +8567,7 @@ packages:
resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}
engines: {node: '>=8'} engines: {node: '>=8'}
dependencies: dependencies:
'@babel/code-frame': 7.23.4 '@babel/code-frame': 7.23.5
error-ex: 1.3.2 error-ex: 1.3.2
json-parse-even-better-errors: 2.3.1 json-parse-even-better-errors: 2.3.1
lines-and-columns: 1.2.4 lines-and-columns: 1.2.4