Skip to content
Node package to run the vue-cli-service linter and post the results to slack mentioning the last committer of each file
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
sample
src
.gitignore
.npmignore
.travis.yml
LICENSE
package-lock.json
package.json
readme.md
tsconfig.json
vue-slint.code-workspace

readme.md

vue-slint

Build Status npm npm

A tool to lint a VueCLI project and send the results to slack tagging the last committer.

sample

Requirements:

  • vuecli (with eslint / tslint set up)
  • npx
  • git

Dependencies:

npm install npx -g

Install

npm install vue-slint -g

Usage

You will need a slack api token e.g.

xoxb-111111111111-222222222222-abcDef5H1jkLmno9qRSTuvWX

Create a lookup file that converts the git username to the slack id

{
    "val": "@val",
    "john smith": "@john"
}

Execute

vue-slint --token xoxb-111111111111-222222222222-abcDef5H1jkLmno9qRSTuvWX --channel my-slack-channel -folder ~/Source/MyVueCliProject -u ~/Source/MyVueCliProject/slackUsers.json
You can’t perform that action at this time.