@fullstacksjs/oxlint-config
v1.3.0
Published
FullstacksJS OXLint Config
Downloads
732
Readme

Shared Oxlint config for FullstacksJS projects.
This is the @fullstacksjs/oxlint-minimal baseline plus the modules that need
an Oxlint jsPlugin (eslint-plugin-regexp, eslint-plugin-storybook, eslint-plugin-better-tailwindcss).
If you would rather stay on Oxlint's native path with no jsPlugins, use @fullstacksjs/oxlint-minimal instead.
Installation
pnpm install --save-dev @fullstacksjs/oxlint-config oxlintUsage
Create an oxlint.config.ts file:
import { defineConfig } from '@fullstacksjs/oxlint-config';
export default defineConfig();Storybook is enabled automatically when the storybook package is installed. Enable or disable it explicitly with modules.storybook:
export default defineConfig({
modules: {
storybook: true, // or false
},
});Tailwind CSS (eslint-plugin-better-tailwindcss) is disabled by
default. To enable it, specify the path to your Tailwind config in the module configuration:
Tailwind 4:
export default defineConfig({
modules: {
tailwind: { entryPoint: './src/global.css' },
},
});Tailwind 3:
export default defineConfig({
modules: {
tailwind: { tailwindConfig: './tailwind.config.js' },
},
});See the repository README for modules, options, and customization.
