Command line tool to lint Sass styles in Vue single file components.
Switch branches/tags
Nothing to show
Clone or download
Latest commit db33ec5 Nov 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin add basic implementation Nov 17, 2016
lib Exit with code 0 if only warnings are present Oct 3, 2018
test add a test component Sep 28, 2018
.editorconfig add editorconfig Jan 24, 2017
.eslintrc setup eslint Jan 28, 2017
.gitignore add basic implementation Nov 17, 2016
.travis.yml add slack notifications Jan 28, 2017
Dockerfile add dockerfile Sep 28, 2018
license.md add license file Jan 23, 2017
package.json bump version number Nov 30, 2018
readme.md add key features to readme Sep 28, 2018
yarn.lock update dependencies Sep 28, 2018

readme.md

sass-lint-vue

npm npm downloads Build Status js-standard-style

Command line tool to lint Sass styles in Vue single file components. It uses sass-lint under the hood.

Features

Installation

npm install sass-lint-vue

Usage

sass-lint-vue [options] <file ...>

Options

  • -h, --help: output usage information
  • -V, --version: output the version number

Example

The following example scans the assets directory for .vue files and outputs lint errors in <style> tags with the attribute lang="scss" set.

sass-lint-vue assets

Development

Build the docker container via

docker build . -t sass-lint-vue.

Lint the Component.vue file in the docker container via:

docker run --rm -v (pwd):/app sass-lint-vue ./app/bin/sass-lint-vue ./app/test/Component.vue

Access the container via:

docker run -it --rm -v (pwd):/app sass-lint-vue bash