oxlint-preset-react-ts
v0.1.0
Published
A zero-config OxLint preset optimized for React, Next.js, and TypeScript projects.
Maintainers
Readme
OxLint React Next.js TypeScript Preset
A zero-config OxLint preset optimized for React, Next.js, and TypeScript projects. This preset leverages OxLint's speed and accuracy to enforce best practices, catch common errors, and maintain code consistency without complex configurations.
Features
- Zero-Config: Get started instantly without spending hours configuring linting rules.
- Optimized for React, Next.js, and TypeScript: Curated rules specifically tailored for these technologies.
- Performance: Benefit from OxLint's blazing-fast linting speeds.
- Code Quality: Enforce consistent code styles and catch potential bugs early in the development cycle.
- Developer Experience: Integrates seamlessly with VS Code for real-time feedback and auto-fixes.
Installation
Install the preset and OxLint as a development dependency:
pnpm add -D oxlint oxlint-preset-react-nextjs-ts
# or
npm install --save-dev oxlint oxlint-preset-react-nextjs-ts
# or
yarn add --dev oxlint oxlint-preset-react-nextjs-tsUsage
After installation, initialize the preset:
npx oxlint-preset initThen, lint your code:
npx oxlint .
# or
npx oxlint-preset lintFor more detailed usage instructions, refer to the Usage Guide.
Documentation
License
This project is licensed under the MIT License - see the LICENSE file for details.
