mirror of
https://github.com/ZSeven-W/openpencil.git
synced 2026-06-01 03:14:29 +07:00
Introduce oxlint (v1.57) as the project linter with correctness/suspicious/perf categories and react/typescript/import/unicorn plugins. Add oxfmt (v0.42) as the formatter configured with single quotes, semicolons, 100 char width, 2-space indent. - Add oxlintrc.json, .oxfmtrc.json, .editorconfig configs - Add lint, lint:fix, format, format:check npm scripts - Extend .githooks/pre-commit to check staged files - Add lint and format:check steps to CI workflow - Apply full codebase formatting (584 files) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
248 B
JSON
9 lines
248 B
JSON
{
|
|
"categories": {
|
|
"correctness": "error",
|
|
"suspicious": "warn",
|
|
"perf": "warn"
|
|
},
|
|
"plugins": ["react", "typescript", "import", "unicorn"],
|
|
"ignorePatterns": ["node_modules", "out", "dist", "**/routeTree.gen.ts", "**/*.gen.*"]
|
|
}
|