mrm-task-stylelint

Mrm task that adds stylelint

Usage no npm install needed!

<script type="module">
  import mrmTaskStylelint from 'https://cdn.skypack.dev/mrm-task-stylelint';
</script>

README

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.

Changelog

The changelog can be found in CHANGELOG.md.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin and contributors.

MIT License, see the included License.md file.