Lint with every Oxlint category and list only the offs and options
Check / check (pull_request) Successful in 51s

This commit is contained in:
Danny Kim
2026-10-19 11:26:48 +09:00
parent c8ffb9cc6f
commit d09806daad
19 changed files with 293 additions and 157 deletions
+17 -1
View File
@@ -12,13 +12,29 @@ export default defineConfig({
"eslint-plugin-import-structure",
"./scripts/project-lint.ts",
],
categories: { correctness: "error", suspicious: "error", pedantic: "error", perf: "error" },
categories: {
correctness: "error",
suspicious: "error",
pedantic: "error",
perf: "error",
style: "error",
restriction: "error",
nursery: "off",
},
rules: {
...explicitTypes.configs.concrete.rules,
...explicitTypes.configs.naming.rules,
...explicitTypes.configs.absence.rules,
...importStructure.configs.modules.rules,
...projectLint.configs.project.rules,
},
overrides: [
{
// Vite+ and Oxlint load these through their default export.
files: ["vite.config.ts", "scripts/project-lint.ts"],
rules: { "import/no-default-export": "off" },
},
],
options: {
typeAware: true,
typeCheck: true,