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-plugin-sort
Advanced tools
Auto-fixable sort rules for ESLint.
npm install -D eslint-plugin-sort
yarn add -D eslint-plugin-sort
After installing, add sort
to your list of ESLint plugins and extend the
recommended configuration. This will enable all available rules as warnings.
{
"extends": "plugin:sort/recommended",
"plugins": ["sort"]
}
✔: Enabled in the recommended
configuration.
🔧: Fixable with eslint --fix
.
✔ | 🔧 | Rule | Description |
---|---|---|---|
✔ | 🔧 | sort/destructuring-properties | Sorts object destructuring properties |
✔ | 🔧 | sort/import-members | Sorts import members |
✔ | 🔧 | sort/imports | Sorts imports |
✔ | 🔧 | sort/object-properties | Sorts object properties |
🔧 | sort/type-properties | Sorts TypeScript type properties |
FAQs
Auto-fixable sort rules for ESLint.
The npm package eslint-plugin-sort receives a total of 2,792 weekly downloads. As such, eslint-plugin-sort popularity was classified as popular.
We found that eslint-plugin-sort 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.
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.