Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
eslint-config-minim
Advanced tools
Eslint config that only helps you when you are going to mess it up and doesn't bother you about code style
ESLint config that only helps you when you are going to mess it up and doesn't bother you about code style
If you are frustrated extending your ESLint config from eslint-config-standard or eslint-config-airbnb then you are in the right place.
ESLint is an essential tool to lint your code, but sometimes does too much job and could be frustrating. This config is an approach to let ESLint help you, without changing your code style. To mantain a consistent code style I recommend you Prettier, try it and never look back.
Basically eslint-config-minim is just extending the awesome eslint-config-unobtrusive, I recommend you to read the documentation to understand better the main goals and advantages of this approach.
If you use ES6 modules, React, Jest or Cypress this config could be really useful for you.
npm install --save-dev eslint-config-{minim,unobtrusive} eslint-plugin-{cypress,import,promise,react}
.eslintrc.json
file in the root of your project with this content:{
"extends": "minim"
}
webpack.config.js
, if you have your config in another place just use this in your .eslintrc.json
file:{
"extends": "minim",
"settings": {
"import/resolver": {
"webpack": {
"config": "path/to/webpack.base.config.js"
}
}
}
}
FAQs
Eslint config that only helps you when you are going to mess it up and doesn't bother you about code style
The npm package eslint-config-minim receives a total of 0 weekly downloads. As such, eslint-config-minim popularity was classified as not popular.
We found that eslint-config-minim demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.