[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: use oxlint and oxfmt directly (#786)

authored by

Wojciech Maj and committed by
GitHub
334baf78 dfceb2dd

+13 -5
+7 -5
package.json
··· 18 18 "i18n:check:fix": "node scripts/compare-translations.ts --fix", 19 19 "knip": "knip", 20 20 "knip:fix": "knip --fix", 21 - "lint": "vite lint && vite fmt --check", 22 - "lint:fix": "vite lint --fix && vite fmt", 21 + "lint": "oxlint && oxfmt --check", 22 + "lint:fix": "oxlint --fix && oxfmt", 23 23 "generate": "nuxt generate", 24 24 "npmx-connector": "pnpm --filter npmx-connector dev", 25 25 "generate-pwa-icons": "pwa-assets-generator", ··· 108 108 "fast-npm-meta": "1.0.0", 109 109 "knip": "5.82.1", 110 110 "lint-staged": "16.2.7", 111 + "oxfmt": "0.27.0", 112 + "oxlint": "1.42.0", 111 113 "playwright-core": "1.58.0", 112 114 "schema-dts": "1.1.5", 113 115 "simple-git-hooks": "2.13.1", ··· 125 127 "lint-staged": { 126 128 "i18n/locales/*": [ 127 129 "pnpm build:lunaria", 128 - "vite fmt lunaria/files/", 130 + "pnpm oxfmt lunaria/files/", 129 131 "git add lunaria/files/" 130 132 ], 131 133 "*.{js,ts,mjs,cjs,vue}": [ 132 - "vite lint --fix" 134 + "pnpm oxlint --fix" 133 135 ], 134 136 "*.{js,ts,mjs,cjs,vue,json,yml,md,html,css}": [ 135 - "vite fmt" 137 + "pnpm oxfmt" 136 138 ] 137 139 }, 138 140 "packageManager": "pnpm@10.28.2"
+6
pnpm-lock.yaml
··· 231 231 lint-staged: 232 232 specifier: 16.2.7 233 233 version: 16.2.7 234 + oxfmt: 235 + specifier: 0.27.0 236 + version: 0.27.0 237 + oxlint: 238 + specifier: 1.42.0 239 + version: 1.42.0(oxlint-tsgolint@0.11.3) 234 240 playwright-core: 235 241 specifier: 1.58.0 236 242 version: 1.58.0