@saashub/qoq-eslint-v9-js-jest-rtl
v2.0.1
Published
Eslint flat config template for JS + Jest + RTL
Downloads
407
Readme
@saashub/qoq-eslint-v9-js-jest-rtl
Rationale
Beign tired of setting up Eslint all over again for new projects, on top of v9 flatConfig , we created some base template for different setups (check all @saashub/qoq-eslint-v9-* packages). Configs inherit from base ones and includes all necessary packages and settings. Rules are opinionated, configured from years of development experience, can be used as full setup without any tweaks or as base to Your own configs.
Install
npm install @saashub/qoq-eslint-v9-js-jest-rtlUsage
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-jest-rtl");
module.exports = [
{
...jsBaseConfig,
files: [...]
}
]For ESM
import jsBaseConfig from '@saashub/qoq-eslint-v9-js-jest-rtl';
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-jest-rtlLast but not least
Feel free to join us, please read General Contributing Guidelines
CLI technical documentation can be found here
