Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@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
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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.