stylelint-config-itgalaxy
A mostly reasonable approach to CSS and SCSS.
Last updated 9 months ago by evilebottnawi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stylelint-config-itgalaxy 
SYNC missed versions from official npm registry.

stylelint-config-itgalaxy

NPM version Travis Build Status devDependencies Status peerDependencies Status

itgalaxy org's shareable config for stylelint (css and scss).

For consistent css and scss code across itgalaxy's repositories.

Installation

npm install stylelint-config-itgalaxy

Usage

If you've installed stylelint-config-itgalaxy locally within your project, just set your stylelint config to:

For css use:

{
  "extends": "stylelint-config-itgalaxy/css"
}

For scss use:

{
  "extends": "stylelint-config-itgalaxy/scss"
}

If you've globally installed stylelint-config-itgalaxy using the -g flag, then you'll need to use the absolute path to stylelint-config-itgalaxy in your config e.g.

{
  "extends": "/absolute/path/to/stylelint-config-itgalaxy"
}

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, turn off the number-leading-zero rule, change the property-no-unknown rule to use its ignoreAtRules option and add the unit-whitelist rule:

{
  "extends": "stylelint-config-itgalaxy",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null,
    "property-no-unknown": [
      true,
      {
        "ignoreProperties": ["composes"]
      }
    ],
    "unit-whitelist": ["em", "rem", "s"]
  }
}

Changelog

License

Current Tags

  • 58.0.0                                ...           latest (9 months ago)

62 Versions

  • 58.0.0                                ...           9 months ago
  • 57.0.0                                ...           a year ago
  • 55.0.0                                ...           a year ago
  • 54.0.0                                ...           a year ago
  • 53.0.0                                ...           2 years ago
  • 52.0.0                                ...           2 years ago
  • 51.0.0                                ...           2 years ago
  • 50.0.0                                ...           2 years ago
  • 49.0.0                                ...           2 years ago
  • 48.0.0                                ...           2 years ago
  • 47.0.0                                ...           2 years ago
  • 46.0.0                                ...           2 years ago
  • 45.0.0                                ...           3 years ago
  • 44.0.0                                ...           3 years ago
  • 43.0.0                                ...           3 years ago
  • 42.0.0                                ...           3 years ago
  • 41.0.0                                ...           3 years ago
  • 40.0.0                                ...           3 years ago
  • 39.0.0                                ...           3 years ago
  • 38.0.0                                ...           3 years ago
  • 37.0.0                                ...           3 years ago
  • 36.0.0                                ...           3 years ago
  • 35.0.0                                ...           3 years ago
  • 34.0.0                                ...           3 years ago
  • 33.0.0                                ...           3 years ago
  • 32.0.0                                ...           3 years ago
  • 31.0.0                                ...           4 years ago
  • 30.0.0                                ...           4 years ago
  • 29.0.0                                ...           4 years ago
  • 28.0.0                                ...           4 years ago
  • 27.0.0                                ...           4 years ago
  • 26.0.0                                ...           4 years ago
  • 25.0.0                                ...           4 years ago
  • 24.0.0                                ...           4 years ago
  • 23.0.0                                ...           4 years ago
  • 22.0.0                                ...           4 years ago
  • 21.0.0                                ...           4 years ago
  • 20.0.0                                ...           4 years ago
  • 19.0.0                                ...           4 years ago
  • 18.0.0                                ...           4 years ago
  • 17.0.0                                ...           4 years ago
  • 16.0.0                                ...           4 years ago
  • 15.0.0                                ...           4 years ago
  • 14.0.0                                ...           4 years ago
  • 13.0.0                                ...           4 years ago
  • 12.0.0                                ...           4 years ago
  • 11.0.0                                ...           4 years ago
  • 10.0.0                                ...           4 years ago
  • 9.0.0                                ...           4 years ago
  • 8.0.0                                ...           4 years ago
  • 7.0.0                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.1.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |