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.
stylelint-codeguide
Advanced tools
[!WARNING]
⚠️ This package has been deprecated in favor of@stylistic/stylelint-plugin
.
An updatable collection of stylistic rules for Stylelint (in plugin form).
Stylelint has removed 76 rules that enforce stylistic conventions.
stylelint-codeguide returns these rules to keep styles consistent with your codeguide. In addition, new rules may be added in the future.
The plugin follows Stylelint's guidelines.
Add stylelint-codeguide
and stylelint
itself to your project:
npm install --save-dev stylelint stylelint-codeguide
Create the .stylelintrc
config file (or open the existing one), add stylelint-codeguide
to the plugins array and the rules you need to the rules list. All rules from stylelint-codeguide need to be namespaced with codeguide/
:
{
"plugins": [
"stylelint-codeguide"
],
"rules": {
// syntax rules from stylelint:
"color-function-notation": "modern",
"selector-max-compound-selectors": 2,
// ...
// stylistic rules from stylelint-codeguide:
"codeguide/color-hex-case": "lower",
"codeguide/number-leading-zero": "always",
"codeguide/unit-case": "lower"
}
}
Please refer to Stylelint docs for detailed info on using this linter.
[2.0.0] — 2023–12–20
stylelint-stylistic
and moved to the organization of the same name.npm
under the new name @stylistic/stylelint-plugin
. Therefore, you should:stylelint-codeguide
to the new one in the config,stylelint-codeguide
package from dependencies@stylistic/stylelint-plugin
package.codeguide/
to @stylistic/
in the config.FAQs
A collection of codeguide-specific rules for Stylelint
The npm package stylelint-codeguide receives a total of 3,197 weekly downloads. As such, stylelint-codeguide popularity was classified as popular.
We found that stylelint-codeguide demonstrated a healthy version release cadence and project activity because the last version was released less than 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.