Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@lmc-eu/eslint-config-jest
Advanced tools
LMC's ESlint configuration for projects using Jest as test runner
LMC’s ESLint config for projects using Jest as test runner
These configuration files are suitable to lint Jest test files.
npm install @lmc-eu/eslint-config-jest -D
or
yarn add @lmc-eu/eslint-config-jest -D
Create a .eslintrc.js file with the following contents:
module.exports = {
extends: [
// ... (base eslint config)
'@lmc-eu/eslint-config-jest',
],
};
The shareable config can be customized in your eslint configuration file.
Use this ruleset to configure ESLint to lint your Jest test files. Jest test files are by default identified by *.test.*
or *.spec.*
filenames or by being in the test/ directory in your project root or by using __test__/
directories near your tested files.
⚠️ You can use this environment ruleset in combination with any of the existing environment rulesets. Just make sure this one comes in as the last one.
This configuration uses the following plugins:
For available rules see ESLint plugin Jest and ESLint plugin Jest Formatting
See the LICENSE file for information.
FAQs
LMC's ESlint configuration for projects using Jest as test runner
The npm package @lmc-eu/eslint-config-jest receives a total of 204 weekly downloads. As such, @lmc-eu/eslint-config-jest popularity was classified as not popular.
We found that @lmc-eu/eslint-config-jest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.