@coderesque/task-scss-lint

Task for linting SCSS source files using stylelint

Usage no npm install needed!

<script type="module">
  import coderesqueTaskScssLint from 'https://cdn.skypack.dev/@coderesque/task-scss-lint';
</script>

README

@coderesque/task-scss-lint

Task for linting SCSS source files using stylelint

Install

yarn add --exact @coderesque/task-scss-lint

Usage

Add the task to a task runner.

import taskScssLint from '@coderesque/task-scss-lint';
import TaskRunner from '@coderesque/task-runner';


const runner = new TaskRunner('build-scripts');
runner.add('scss-lint', taskScssLint());

This will add the lint SCSS task to the build scripts.

> build-scripts scss-lint

Note

This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

License

MIT