Skip to content

[stylelint] improvements to stylelint rule (docusaurus/copyright-header) #2370

Closed
@yangshun

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

Metadata

Assignees

No one assigned

    Labels

    better engineeringNot a bug or feature requestdifficulty: starterIssues that are starter difficulty level, e.g. minimal tweaking with a clear test plan.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions