mrm-task-stylelint

Mrm task that adds stylelint.

What it does

  • Creates .stylelintrc
  • Adds npm script to run stylelint before tests
  • Installs dependencies

Usage

npx mrm stylelint

Options

See Mrm docs and stylelint docs for more details.

stylelintPreset (default: stylelint-config-standard)

Stylelint preset name.

stylelintRules

Stylelint rules.

stylelintExtensions (default: .css)

File extensions to lint.