mediago-dev--mediago
3a565676e3
Replace Prettier with oxfmt for formatting and expand oxlint config with full rule categories, React/TS overrides, and per-app config inheritance. Add husky + lint-staged for pre-commit hooks to incrementally enforce formatting on changed files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 行
438 B
JSON
25 行
438 B
JSON
{
|
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
"printWidth": 80,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"endOfLine": "lf",
|
|
"sortPackageJson": false,
|
|
"ignorePatterns": [
|
|
"build",
|
|
"dist",
|
|
"release",
|
|
"coverage",
|
|
"docs/.vitepress/cache",
|
|
"docs/.vitepress/dist"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.md"],
|
|
"options": {
|
|
"proseWrap": "preserve"
|
|
}
|
|
}
|
|
]
|
|
}
|