Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
eslint-config-simplesense
Advanced tools
All rules must be documented so they can be searched in GitHub Pages.
Documentation is auto-generated using the generate-docs
script.
Most ESLint plugins provide individual rules' documentation with the file structure of docs/<rule-name>.md
in their source.
Some plugins will ship the docs
directory within their package, others exclude them by not providing the docs
directory within their package configuration.
writeFromModules
method.node_modules
, use the writeFromGitHub
method.docs/static/<plugin-name>/<rule-name>.md
, and use the writeFromStatic
method.Adding plugins is fairly straightforward.
Step 1
index.js
.rules/<plugin-name>.js
, and export the rules object. Then add the config by following the details in the previous step, however, use the custom rules by themselves or with the exported recommended rules of the plugin.index.<filetype>
file to the filetypes
directory and update the lint:eslint
script in package.json
to include the new extension.Step 2
Add your new plugin to the docs-config
helper, specifiying the necessary properties required to generate the documentation.
Step 3
Verify everything builds as expected.
npm install
npm run lint
npm run test
npm run docs:dev
# navigate to the URL provided by Vitepress
FAQs
ESLint Config for Simplesense Styles
The npm package eslint-config-simplesense receives a total of 3,282 weekly downloads. As such, eslint-config-simplesense popularity was classified as popular.
We found that eslint-config-simplesense 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.