Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-soda
Advanced tools
ESLint configurations for my personal projects.
This package export 4 ESLint configurations for your usage.
Note: rules related to ES6+ syntax are turned on for every ruleset except the "legacy" one.
The default export contains all of our ESLint rules, including ES6+ features while compatible with ES3+ environments.
It is a general-purpose rule set, so many redundant rules are enabled, and conflict rules are disabled.
npm install --save-dev eslint eslint-config-soda
"extends": "soda"
to your .eslintrc.*
Lints Node.js projects, including rules for ES6+ features.
npm install --save-dev eslint eslint-config-soda
"extends": "soda/node"
to your .eslintrc.*
Lints front-end projects, including rules for ES6+ features. (generators/async/await are disabled since transpiling these features will introduce a lot of overhead).
npm install --save-dev eslint eslint-config-soda
"extends": "soda/browser"
to your .eslintrc.*
Lints ES5 and below, for browser use only.
npm install --save-dev eslint-config-soda eslint
"extends": "soda/legacy"
to your .eslintrc.*
Users are not enforced to use one specific loader spec, so you need to specify one by yourself after extending this package.
Here are the examples:
{
"extends": "soda",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"strict": "never"
}
}
{
"extends": "soda",
"env": {
"commonjs": true
}
}
{
"extends": "soda",
"env": {
"amd": true
}
}
If you are developing a React.js project, you might need the ruleset eslint-config-soda-react.
FAQs
ESLint configurations for my personal projects
The npm package eslint-config-soda receives a total of 3 weekly downloads. As such, eslint-config-soda popularity was classified as not popular.
We found that eslint-config-soda 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.