mirror of
https://github.com/ivuorinen/base-configs-eslint.git
synced 2026-03-11 13:58:16 +00:00
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
This commit is contained in:
26
jest.cjs
26
jest.cjs
@@ -1,6 +1,6 @@
|
||||
'use strict'
|
||||
"use strict";
|
||||
|
||||
const jest = require('eslint-plugin-jest')
|
||||
const jest = require("eslint-plugin-jest");
|
||||
|
||||
/**
|
||||
* eslint configuration for jest.
|
||||
@@ -8,21 +8,21 @@ const jest = require('eslint-plugin-jest')
|
||||
*/
|
||||
module.exports = [
|
||||
{
|
||||
files: ['**/*.{js,mjs,cjs}'],
|
||||
files: ["**/*.{js,mjs,cjs}"],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...jest.globals
|
||||
}
|
||||
}
|
||||
...jest.globals,
|
||||
},
|
||||
},
|
||||
},
|
||||
jest.configs['flat/recommended'],
|
||||
jest.configs['flat/style'],
|
||||
jest.configs["flat/recommended"],
|
||||
jest.configs["flat/style"],
|
||||
{
|
||||
rules: {
|
||||
...jest.rules['flat/recommended'].rules
|
||||
...jest.rules["flat/recommended"].rules,
|
||||
},
|
||||
plugins: {
|
||||
jest
|
||||
}
|
||||
}
|
||||
]
|
||||
jest,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user