docusaurus/packages/stylelint-copyright
Joshua Chen aa446b7a9c
chore: clean up ESLint config, enable a few rules (#6514)
* chore: clean up ESLint config, enable a few rules

* enable max-len for comments

* fix build
2022-01-31 10:31:24 +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(v2): prepare v2.0.0-beta.15 release (#6473) 2022-01-26 19:28:16 +01: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"}]
  }
}