Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-config-meltmedia

This stylelint config contains rules specific to how we write our CSS at meltmedia. It's flexible enough to use for most projects, with rules used mostly to catch common errors, enforce explicit declarations, and ensure best practices. The ruleset was created by the HTML & CSS Guidelines team, please reach out with any suggestions for rules or feedback on your usage.

To see the rules that this config uses, please read the config itself.

Installation

npm install github:meltmedia/stylelint-config-meltmedia --save-dev

Usage

Create a .stylelintrc file at the base of your project:

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

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to change the indentation to tabs:

{
  "extends": "stylelint-config-meltmedia",
  "rules": {
    "indentation": "tab"
  }
}

About

CSS Stylelint Configs

Topics

Resources

Stars

0 stars

Watchers

34 watching

Forks

Releases

Packages

Contributors

Languages