docusaurus/packages/stylelint-copyright
Joshua Chen dcbf9f644e
chore: upgrade docsearch-react to v3 stable, bump dependencies (#6752)
* chore: upgrade dependencies

* revert

* validation

* fix blog

* reformat
2022-02-24 19:39:32 +08:00
..
__tests__ chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00
index.js feat(stylelint-copyright): autofix, stricter config (#6374) 2022-01-16 11:34:10 +08:00
package.json chore: upgrade docsearch-react to v3 stable, bump dependencies (#6752) 2022-02-24 19:39:32 +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"}]
  }
}