Files
base-configs-eslint/jest.cjs
Ismo Vuorinen ad8f7e3a55 chore: add publish workflow and developer tooling configurations (#73)
* feat(ci): new release flow, linting

* chore: upgrade yarn, regenerate yarn.lock

* feat: upgrade packages, publish workflow, lint

* chore(lint): prettier default config

* chore: remove gitHead from package.json

* chore: upgrade workflows

* chore: clean packages
2025-12-04 01:46:38 +02:00

29 lines
477 B
JavaScript

"use strict";
const jest = require("eslint-plugin-jest");
/**
* eslint configuration for jest.
* @type { import('eslint').Linter.Config[] } config
*/
module.exports = [
{
files: ["**/*.{js,mjs,cjs}"],
languageOptions: {
globals: {
...jest.globals,
},
},
},
jest.configs["flat/recommended"],
jest.configs["flat/style"],
{
rules: {
...jest.rules["flat/recommended"].rules,
},
plugins: {
jest,
},
},
];