Socket
Book a DemoInstallSign in
Socket

@cashstar/cstar-stylelint

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cashstar/cstar-stylelint

CashStar CSS Linting Rules for stylelint

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
3
Created
Source

README

What is this repository for?

  • cstar-stylelint contains the config file for CashStar's Stylelint rules.
  • Version: 1.0

How can I run this in my app?

If you want to create a Gulp task, there is an annotated example gulp.js file in this repo for reference (from the auditor app).

Things to keep in mind

  • These rules are set up to run on your code before it compiles. If you run this on compiled code, you will see formatting errors.

  • Don't lint your 3rd party libraries. This linter is meant for use on code written internally at CashStar only.

  • Be mindful of your file structure so you can point the linter to the correct place to ignore 3rd party libraries, compiled code, etc.

What rules are included?

You can check out the .stylelintrc.json in this repo for the current set of rules and cross-reference them to the official Stylelint rules page.

We are closely following our current CSS Style Guide for these rules.

Keywords

CSS, Linting, stylelint

FAQs

Package last updated on 01 May 2017

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