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

stylelint-config-itp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-itp

In The Pocket config for stylelint

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

stylelint-config-itp

NPM version MIT License

In The Pocket's default configuration for Stylelint.

The current configuration is a hard copy of Bootstrap's latest Stylelint configuration. We didn't make any changes to it and like to keep it that way to avoid any discussions and keep this maintainable. Whenever Bootstrap decides to make changes, we need to make changes, that's the idea.

PR with more info.

Extends stylelint-config-standard and stylelint-config-recommended-scss

Plugins used: stylelint-order

Usage

Install the following packages in your project:

npm install stylelint-config-itp stylelint husky lint-staged --save-dev

Add .stylelintrc to the root of your project:

{
  "extends": "stylelint-config-itp"
}

Add .stylelintignore (if you need one) to the root of your project:

**/*.min.css
**/dist/
**/vendor/
/_gh_pages/

Update your package.json:

{
  "scripts": {
+   "precommit": "lint-staged"
  },
+ "lint-staged": {
+   "*.{css,scss}": ["stylelint --fix", "git add"]
+ }
}

Keywords

FAQs

Package last updated on 11 Jul 2018

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