@saashub/qoq-eslint-v9-js-vitest
v2.0.1
Published
Eslint flat config template for JS + Vitest
Readme
@saashub/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 @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-js-vitestUsage
Package exports both CommonJS and ESM code just import it in Your eslint config file.
For CommonJS
const jsBaseConfig = require("@saashub/qoq-eslint-v9-js-vitest");
module.exports = [
{
...jsBaseConfig,
files: [...]
}
]For ESM
import jsBaseConfig from '@saashub/qoq-eslint-v9-js-vitest';
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-js-vitestLast but not least
Feel free to join us, please read General Contributing Guidelines
CLI technical documentation can be found here
