
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@lego/eslint-config-jest
Advanced tools
This is an opinionated all-round configuration.
Install this config package:
$ npm i -D @lego/eslint-config-jest
Extend your eslint.json
, and make sure @lego/eslint-config
has been added:
{
"extends": ["@lego/eslint-config", "@lego/eslint-config-jest"]
}
Note: if you want to use TypeScript don't use
@lego/eslint-config
, use@lego/eslint-config-typescript
instead.
With the above eslint.json
configuration example, you can still use or override already defined
rules as such:
{
"extends": "@lego/eslint-config",
"rules": {
"camelcase": "warn"
}
}
It's recommended to inspect the defined rule's configurations where the reasoning for the configuration lives. If a configuration could benefit more than just the project you're working on, feel free to create a pull request.
FAQs
LEGO shareable eslint config for testing js/ts projects
We found that @lego/eslint-config-jest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.