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