stylelint-config-copilot-base

1.0.0-rc.3 • Public • Published

stylelint-config-copilot-base

Stylelint shareable config with stylelint's built-in rules

Install

npm install stylelint-config-copilot-base --save-dev

Usage

Add this to your Stylelint config:

{
	"extends": "stylelint-config-copilot-base"
}

Example: Rename .stylelintrc.example.js to .stylelintrc.js

Related

Troubleshooting

  • VSCode: stylelint: Undefined rule unicode-bom: This is an issue that (might) occur when using vscode-stylelint (shinnn.stylelint) or vscode-stylelint-plus (hex-ci.stylelint-plus). Use the official stylelint.vscode-stylelint extension which should fix the problem. If the linter still throws the warning/error, you can overwrite the rule in your config:
"rules": {
  "unicode-bom": null
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i stylelint-config-copilot-base

      Weekly Downloads

      52

      Version

      1.0.0-rc.3

      License

      MIT

      Unpacked Size

      46.3 kB

      Total Files

      8

      Last publish

      Collaborators

      • fuhlig