stylelint-config-polymer

0.0.1 • Public • Published

stylelint-config-polymer

The shareable stylelint config for Polymer elements.

Installation

$ npm install stylelint-config-polymer

Usage

Set your stylelint config to::

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

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 and turn off the number-leading-zero rule:

{
  "extends": "stylelint-config-polymer",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Used additions

stylelint-config-polymer is based on stylelint-config-standard with some additions:

Changelog

License

Package Sidebar

Install

npm i stylelint-config-polymer

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • web-padawan