From 662e946fadad7d1f66eef604e7009063faf33670 Mon Sep 17 00:00:00 2001 From: Danny Kim Date: Fri, 16 Oct 2026 23:41:04 +0900 Subject: [PATCH] Drop the scripts lint override and accept Oxfmt's standard package.json order --- package.json | 8 ++++---- vite.config.ts | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 4d78189..2d3c442 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,16 @@ { "name": "bot-agents", - "description": "A Gitea composite action that runs a coding agent for approved issue and pull request automation.", "private": true, + "description": "A Gitea composite action that runs a coding agent for approved issue and pull request automation.", "type": "module", - "engines": { - "node": ">=24.2" - }, "devDependencies": { "@eslint/core": "^0.17.0", "@types/node": "^24.19.2", "@typescript-eslint/types": "^8.71.2", "vite-plus": "^1.2.0", "yaml": "^2.9.1" + }, + "engines": { + "node": ">=24.2" } } diff --git a/vite.config.ts b/vite.config.ts index 4d27725..1c48b7c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,18 +3,11 @@ import { defineConfig } from "vite-plus"; import projectLint from "./scripts/project-lint.ts"; export default defineConfig({ - // Keep package.json in its hand-written order. - fmt: { sortPackageJson: false }, lint: { plugins: ["typescript", "unicorn", "oxc", "import"], jsPlugins: ["./scripts/project-lint.ts"], categories: { correctness: "error", suspicious: "error", pedantic: "error", perf: "error" }, rules: projectLint.configs.project.rules, - // Repo tooling, not app code: the lint plugin compares AST node `type`s, - // which the AST types declare as an enum. - overrides: [ - { files: ["scripts/**"], rules: { "typescript/no-unsafe-enum-comparison": "off" } }, - ], options: { typeAware: true, typeCheck: true,