Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webdevstudios/css-coding-standards

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webdevstudios/css-coding-standards

WebDevStudios CSS & SASS Coding Standards

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

WebDevStudios CSS & SASS Coding Standards

WebDevStudios. WordPress for big brands.

How to Install

npm install @webdevstudios/css-coding-standards --save-dev

In your package.json use:

{
  "sasslintConfig": "node_modules/@webdevstudios/css-coding-standards/.sass-lint.yml",
  "stylelint": {
    "extends": "stylelint-config-wordpress",
    "ignoreFiles":  "**/*.scss"
  }
}

To modify package.json quickly using jq use:

echo $( jq '.sasslintConfig = "node_modules/@webdevstudios/css-coding-standards/.sass-lint.yml"' package.json ) | jq . > package-tmp.json && mv package-tmp.json package.json && echo $( jq '.stylelint = {"extends": "stylelint-config-wordpress","ignoreFiles": "**/*.scss"}' package.json ) | jq . > package-tmp.json && mv package-tmp.json package.json

Note, we do not currently extend stylelint-config-wordpress/scssfor stylelint as it can cause conflicts with our custom sass-lint configurations.


Changelog

1.0.1

  • Update eslint (which a sub-dependacy requires) to >6.8.0 so parent packages can flatten out eslint to greater versions

1.0.0

  • Stable release

1.0.0-beta2

  • Ready for npmjs.org
  • Require ~ version for only minor updates
  • Added contributors

1.0.0-beta1

  • Installed stylelint-config-wordpress as that config will lint CSS (and only CSS, not SASS) per WordPress' CSS coding standards (note SASS is still linted via sass-lint) since we have a proper config for it

FAQs

Package last updated on 10 Jul 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc