sass-lint-vue

Command line tool to lint Sass styles in Vue single file components.
12,901
Install
npm install sass-lint-vue
Latest Version:0.4.0
License:MIT
Last Updated:Jun 12, 2019
Links: npm
Maintainer: krns

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 -tv $(pwd)/test:/app/test sass-lint-vue test

Access the container via:

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

Use docker compose to work on the files:

$ docker-compose up
$ docker-compose exec app bash

Related Packages

pug-lint-vue

Command line tool to lint Pug templates in Vue single file components.

28,896
vuetify-scss

All of the Vuetify styles converted into Sass. No more Stylus!

12,466 61
@unvuetify/vite-styles-plugin

Vuetify Vite plugin for styles

5,683 21
bonescss

SCSS/CSS starting-point for every project. Mixes smacss namespaced h5bp things w...

1,073 15
@x-app/easy-css

A lightweight, customizable SCSS utility library with responsive classes.

368

Version History

Version Released License
0.4.0 MIT
0.3.3 MIT
0.3.1 MIT
0.2.1 MIT
0.2.0 MIT