[stylelint] improvements to stylelint rule (docusaurus/copyright-header) #2370
Closed
Description
💥 Proposal
This is a follow up of #2361 and #2363 regarding improving our stylelint test (packages/stylelint-copyright
)
- It is using the Tape test runner and is not integrated into our CI. If we move the implementation to Jest, it'll be run as part of the repo root's
yarn test
flow which is part of CI and that'll be great. stylelint's rules are already using Jest and perhaps we can learn from how they do it - Allow for rule configuration options to specify the copyright pattern similar to
eslint-plugin-header
Have you read the Contributing Guidelines on issues?
Yes