Skip to content

chore: improve linting rules - #8

Merged
SynthLuvr merged 2 commits into
mainfrom
chore/align-lint-rules
Jun 27, 2026
Merged

chore: improve linting rules#8
SynthLuvr merged 2 commits into
mainfrom
chore/align-lint-rules

Conversation

@SynthLuvr

Copy link
Copy Markdown
Owner

Improved linting rules and configuration

Apply the same linting rules and configuration from SynthLuvr/lumen/lumen-cli:

- biome.json: switch  to local path, use preset:none instead of
  recommended:false, add noUnusedFunctionParameters rule
- .oxlintrc.json: add no-unused-vars rule (args:all, ignore ^_ prefix)
- .ast-grep/rules/: add no-inline-export.yml and no-function-declaration.yml
- package.json: add lint:exports and lint:functions scripts, wire into lint;
  align devDependency versions with lumen-cli (@biomejs/biome ^2.5.0,
  @types/node ^26, convert-to-arrow ^1.1.4, oxlint ^1.70, vitest ^4.1.9);
  add @ast-grep/cli-linux-x64-gnu
- tools.ts: use export { tools } instead of inline export const
- vitest.config.ts: use export { config as default } instead of inline export
- .gitignore: add dist, *.js exclusions
- pnpm-lock.yaml: updated
@SynthLuvr
SynthLuvr merged commit 6229bd7 into main Jun 27, 2026
1 check passed
@SynthLuvr
SynthLuvr deleted the chore/align-lint-rules branch June 27, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant