Skip to content

Commit 33790c4

Browse files
committed
Add standard linter
1 parent ae31920 commit 33790c4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ If you'd like more details on what the issues are I recommend installing
1313
and running [git-att](https://github.com/watson/git-att) in the root of
1414
your git repo.
1515

16+
[![Build status](https://travis-ci.org/watson/git-ps1.svg?branch=master)](https://travis-ci.org/watson/git-ps1)
17+
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
18+
1619
## Installation
1720

1821
```

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.1.2",
44
"description": "A simple command line prompt enhancer that shows the state of the current git repo (ps1)",
55
"scripts": {
6-
"test": "echo \"Error: no test specified\" && exit 1"
6+
"test": "standard"
77
},
88
"bin": {
99
"git-ps1": "bin/git-ps1"
@@ -15,6 +15,9 @@
1515
"dependencies": {
1616
"git-state": "^3.0.0"
1717
},
18+
"devDependencies": {
19+
"standard": "^8.1.0"
20+
},
1821
"keywords": [
1922
"git",
2023
"repo",

0 commit comments

Comments
 (0)