docusaurus/packages/stylelint-copyright
Joshua Chen ebd5340205
chore: various improvements to repo setup (#6471)
* chore: various improvements to repo setup

* fix again

* fix
2022-01-26 14:24:15 +08:00
..
__tests__ chore: enable eslint-plugin-jest (#6375) 2022-01-16 15:53:23 +08:00
index.js feat(stylelint-copyright): autofix, stricter config (#6374) 2022-01-16 11:34:10 +08:00
package.json chore: various improvements to repo setup (#6471) 2022-01-26 14:24:15 +08:00
README.md feat(stylelint-copyright): autofix, stricter config (#6374) 2022-01-16 11:34:10 +08:00

stylelint-copyright

Stylelint plugin to check CSS files for a copyright header.

/*
 * Copyright ...
 * ...
 */

Usage

// .stylelintrc
{
  "plugins": ["stylelint-copyright"],
  "rules": {
    "docusaurus/copyright-header": [true, {"header": "\n * Copyright"}]
  }
}