/sass-lint-vue

Command line tool to lint Sass styles in Vue single file components.

Primary LanguageJavaScriptMIT LicenseMIT

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.

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