mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 18:49:32 -05:00
chore: replace Prettier with oxfmt and add oxlint (#6259)
* chore: replace Prettier with oxfmt and add oxlint - Replace Prettier with oxfmt (Prettier-compatible formatter from OXC project) - Add oxlint for fast linting alongside ESLint - Add eslint-plugin-oxlint to disable ESLint rules covered by oxlint - Update lint scripts to run oxfmt, oxlint, then eslint - Update lint-staged configuration for pre-commit hooks - Create .oxfmtrc.json and .oxlintrc.json configuration files - Remove .prettierrc.json and .prettierignore - Reformat codebase with oxfmt * chore: update dependencies in yarn.lock * chore: update oxlint configuration to disable additional rules * chore: update oxfmt and oxlint configurations, enhance test readability
This commit is contained in:
committed by
GitHub
parent
76dadfa5fb
commit
879fd1b054
@@ -16,7 +16,7 @@ protoc --plugin="protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts" \
|
||||
--proto_path=src/proto \
|
||||
sync.proto
|
||||
|
||||
../../node_modules/.bin/prettier --write src/proto/*.d.ts
|
||||
../../node_modules/.bin/oxfmt src/proto/*.d.ts
|
||||
|
||||
for file in src/proto/*.d.ts; do
|
||||
{ echo "/* eslint-disable @typescript-eslint/no-namespace */"; sed 's/export class/export declare class/g' "$file"; } > "${file%.d.ts}.ts"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user