@saashub/qoq-eslint-v9-js-jest
Version:
Eslint flat config template for JS + Jest
23 lines (20 loc) • 551 B
JavaScript
import { baseConfig as baseConfig$1 } from '@saashub/qoq-eslint-v9-js';
import jestPlugin from 'eslint-plugin-jest';
import globals from 'globals';
import merge from 'lodash/merge.js';
const baseConfig = merge({}, baseConfig$1, {
name: '@saashub/qoq-eslint-v9-js-jest',
languageOptions: {
globals: {
...globals.jest,
},
},
plugins: {
jest: jestPlugin,
},
rules: {
...jestPlugin.configs.recommended.rules,
'sonarjs/no-duplicate-string': 0,
},
});
export { baseConfig };