Skip to content

@cssdoc/stylelint-plugin

@cssdoc/stylelint-plugin — a Stylelint plugin exposing cssdoc/valid-doc-comments, which runs the shared @cssdoc/lint-core rules over the stylesheet and reports each violation. Add the plugin and enable the rule:

Example

js
// stylelint.config.js
export default {
  plugins: ["@cssdoc/stylelint-plugin"],
  rules: { "cssdoc/valid-doc-comments": true },
};

Variables

Released under the MIT License