@saashub/qoq-eslint-v9-ts-react-compiler
v2.0.1
Published
Eslint flat config template for TS + React + React compiler
Downloads
352
Readme
@saashub/qoq-eslint-v9-ts-react-compiler
Rationale
Tired of setting up ESLint from scratch for every new project? With the introduction of Flat Config in ESLint v9, we created a set of base templates for different setups. Check out all our @saashub/qoq-eslint-v9-* packages.
These configurations inherit from base presets and include all necessary packages and settings. The rules are opinionated, shaped by years of development experience, and can be used as a complete setup without any tweaks or as a foundation for your own configurations.
Install
npm install @saashub/qoq-eslint-v9-ts-react-compilerUsage
Package exports both CommonJS and ESM code just import it in Your eslint config file.
For CommonJS
const jsBaseConfig = require("@saashub/qoq-eslint-v9-ts-react-compiler");
module.exports = [
{
...jsBaseConfig,
files: [...]
}
]For ESM
import jsBaseConfig from '@saashub/qoq-eslint-v9-ts-react-compiler';
export default [
{
...jsBaseConfig,
files: [...]
}
];Rules preview with ESLint Config Inspector
To preview all rules defined by this config simply run:
npx -y @saashub/qoq-eslint-v9-ts-react-compilerLast but not least
Feel free to join us, please read General Contributing Guidelines
CLI technical documentation can be found here
