vue-tslint

0.3.2 • Public • Published

vue-tslint

A cli tool that lint your Vue SFC files with TSLint

install

npm i -D vue-tslint

usage

Please use with TypeScript version > 3.0.0

Usage: vue-tslint [options]
 
Options:
  -c, --config [config]    TSLint configuration file. Default: project root
  -p, --project [project]  Folder that contain your tsconfig.json file. Default: project root
  --fix                    Fixes linting errors for select rules (this may overwrite linted files).
  -e, --exclude <exclude>  An array of glob patterns to exclude matches
  -g, --gitignore          Respect ignore patterns in .gitignore files that apply to the globbed files
  -v, --version            output the version number
  -h, --help               output usage information

example

vue-tslint -p vue-project -c tslint.json --fix

lisence

MIT

Readme

Keywords

Package Sidebar

Install

npm i vue-tslint

Weekly Downloads

29

Version

0.3.2

License

MIT

Unpacked Size

8.61 kB

Total Files

7

Last publish

Collaborators

  • zhanba