Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@distributive/eslint-plugin
Advanced tools
An ESLint rule to enforce brace styles according to the Distributive style guide.
npm add --save-dev eslint @distributive/eslint-plugin
You can extend from the plugin's recommended configuration:
module.exports = {
extends: [
'plugin:@distributive/recommended',
],
};
Or, add @distributive
to the plugins section of your .eslintrc
configuration file and configure the rules you want to use under the rules
section:
module.exports = {
plugins: [
'@distributive',
],
rules: {
'@distributive/brace-style': 'error',
},
};
💼 Configurations enabled in.
✅ Set in the recommended
configuration.
🔧 Automatically fixable by the --fix
CLI option.
Name | Description | 💼 | 🔧 |
---|---|---|---|
brace-style | Enforce bracing styles in accordance to the Distributive style guide | ✅ | 🔧 |
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2023 Distributive Corp.
FAQs
Plugin containing Distributive style guide rules
The npm package @distributive/eslint-plugin receives a total of 25 weekly downloads. As such, @distributive/eslint-plugin popularity was classified as not popular.
We found that @distributive/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.