Add oxlint, oxfmt, typescript-go
- oxlint with react, react-hooks, typescript, import, unicorn plugins
- oxfmt (no trailing commas, single quotes, sorted imports)
- tsgo (typescript-go native preview) for fast typechecking
- Fix all lint warnings: non-null assertions, unused expressions, stale closures
- Scripts: lint, format, typecheck, check
2026-02-27 12:52:04 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
|
|
|
"trailingComma": "none",
|
|
|
|
|
"tabWidth": 2,
|
|
|
|
|
"semi": false,
|
|
|
|
|
"singleQuote": true,
|
|
|
|
|
"printWidth": 100,
|
|
|
|
|
"arrowParens": "always",
|
2026-03-06 18:43:23 +00:00
|
|
|
"sortImports": {
|
Add oxlint, oxfmt, typescript-go
- oxlint with react, react-hooks, typescript, import, unicorn plugins
- oxfmt (no trailing commas, single quotes, sorted imports)
- tsgo (typescript-go native preview) for fast typechecking
- Fix all lint warnings: non-null assertions, unused expressions, stale closures
- Scripts: lint, format, typecheck, check
2026-02-27 12:52:04 +00:00
|
|
|
"order": "asc",
|
|
|
|
|
"ignoreCase": true,
|
|
|
|
|
"newlinesBetween": true,
|
2026-05-05 23:22:08 +00:00
|
|
|
"internalPattern": ["@open-pencil/", "@/", "#core/", "#vue/", "#cli/", "#mcp/", "#tests/"],
|
|
|
|
|
"customGroups": [
|
|
|
|
|
{
|
|
|
|
|
"groupName": "type-workspace",
|
|
|
|
|
"elementNamePattern": ["@open-pencil/**"],
|
|
|
|
|
"modifiers": ["type"]
|
|
|
|
|
},
|
|
|
|
|
{ "groupName": "workspace", "elementNamePattern": ["@open-pencil/**"] },
|
|
|
|
|
{ "groupName": "type-app", "elementNamePattern": ["@/**"], "modifiers": ["type"] },
|
|
|
|
|
{ "groupName": "app", "elementNamePattern": ["@/**"] },
|
|
|
|
|
{
|
|
|
|
|
"groupName": "type-package-alias",
|
|
|
|
|
"elementNamePattern": ["#core/**", "#vue/**", "#cli/**", "#mcp/**"],
|
|
|
|
|
"modifiers": ["type"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"groupName": "package-alias",
|
|
|
|
|
"elementNamePattern": ["#core/**", "#vue/**", "#cli/**", "#mcp/**"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"groupName": "type-test-alias",
|
|
|
|
|
"elementNamePattern": ["#tests/**"],
|
|
|
|
|
"modifiers": ["type"]
|
|
|
|
|
},
|
|
|
|
|
{ "groupName": "test-alias", "elementNamePattern": ["#tests/**"] }
|
|
|
|
|
],
|
Add oxlint, oxfmt, typescript-go
- oxlint with react, react-hooks, typescript, import, unicorn plugins
- oxfmt (no trailing commas, single quotes, sorted imports)
- tsgo (typescript-go native preview) for fast typechecking
- Fix all lint warnings: non-null assertions, unused expressions, stale closures
- Scripts: lint, format, typecheck, check
2026-02-27 12:52:04 +00:00
|
|
|
"groups": [
|
2026-05-05 23:22:08 +00:00
|
|
|
["builtin", "type-builtin"],
|
|
|
|
|
["external", "type-external"],
|
|
|
|
|
["workspace", "type-workspace"],
|
|
|
|
|
["app", "type-app"],
|
|
|
|
|
["package-alias", "type-package-alias"],
|
|
|
|
|
["test-alias", "type-test-alias"],
|
|
|
|
|
["parent", "sibling", "index", "type-parent", "type-sibling", "type-index"],
|
|
|
|
|
"style",
|
|
|
|
|
"unknown"
|
Add oxlint, oxfmt, typescript-go
- oxlint with react, react-hooks, typescript, import, unicorn plugins
- oxfmt (no trailing commas, single quotes, sorted imports)
- tsgo (typescript-go native preview) for fast typechecking
- Fix all lint warnings: non-null assertions, unused expressions, stale closures
- Scripts: lint, format, typecheck, check
2026-02-27 12:52:04 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|