https://github.com/logux/oxc-configs
Oxlint & oxfmt shareable config for Logux
https://github.com/logux/oxc-configs
Last synced: 2 months ago
JSON representation
Oxlint & oxfmt shareable config for Logux
- Host: GitHub
- URL: https://github.com/logux/oxc-configs
- Owner: logux
- License: mit
- Created: 2026-03-29T21:56:33.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-02T19:54:36.000Z (3 months ago)
- Last Synced: 2026-04-04T16:39:58.285Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 61.5 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Logux Oxlint & Oxfmt Configs

Shareable code style and best practice for [Logux] projects.
[Logux]: https://logux.org/
---
Made at Evil Martians, product consulting for developer tools.
---
## Install
```sh
pnpm add --save-dev @logux/oxc-configs oxlint oxlint-tsgolint typescript
```
## Usage
Create `oxlint.config.ts`:
```ts
import loguxOxlintConfig from '@logux/oxc-configs/lint'
import { defineConfig } from 'oxlint'
export default defineConfig({
extends: [loguxOxlintConfig]
})
```
Create `oxfmt.config.ts`:
```ts
import loguxOxfmtConfig from '@logux/oxc-configs/fmt'
export default loguxOxfmtConfig
```
For compatibility in open source projects create `.prettierrc.js`:
```ts
import loguxOxfmtConfig from '@logux/oxc-configs/fmt'
export default loguxOxfmtConfig
```