@ladamczyk/qoq-eslint-v9-js-vitest
v5.2.2
Published
Eslint flat config template for JS + Vitest
Maintainers
Readme
@ladamczyk/qoq-eslint-v9-js-vitest
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 @ladamczyk/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 @ladamczyk/qoq-eslint-v9-js-vitestUsage
Package exports both CommonJS and ESM code just import it in Your eslint config file.
For CommonJS
const { baseConfig } = require("@ladamczyk/qoq-eslint-v9-js-vitest");
module.exports = [
{
...baseConfig,
files: [...]
}
]For ESM
import { baseConfig } from '@ladamczyk/qoq-eslint-v9-js-vitest';
export default [
{
...baseConfig,
files: [...]
}
];Rules preview with ESLint Config Inspector
To preview all rules defined by this config simply run:
npx -y @ladamczyk/qoq-eslint-v9-js-vitestLast but not least
Feel free to join us, please read General Contributing Guidelines
CLI technical documentation can be found here
