Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
totakke committed Mar 20, 2020
1 parent c4664d5 commit fd31224
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# Changelog

## [Unreleased]
## [0.2.0] - 2020-03-20

### Added

- Add dartanalyzer linter. ([6e8f2d5](https://github.com/totakke/bosslint/commit/6e8f2d5))
- Add yamllint linter. ([c4664d5](https://github.com/totakke/bosslint/commit/c4664d5))

### Changed

- Support diff between two commits. ([c1019b5](https://github.com/totakke/bosslint/commit/c1019b5))

## [0.1.0] - 2020-03-15

First release.

[Unreleased]: https://github.com/totakke/bosslint/compare/0.1.0...HEAD
[Unreleased]: https://github.com/totakke/bosslint/compare/0.2.0...HEAD
[0.2.0]: https://github.com/totakke/bosslint/compare/0.1.0...0.2.0
[0.1.0]: https://github.com/totakke/bosslint/compare/b32d91e...0.1.0
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# Bosslint

![build](https://github.com/totakke/bosslint/workflows/build/badge.svg)
![release](https://img.shields.io/badge/release-v0.2.0-blue.svg)

Good health is the most important thing.
Meta linter for easily checking

> Good health is the most important thing. More than success, more than money, more than power.
>
> — Hyman Roth / The Godfather Part II
## Installation

### Mac OS

```console
$ curl -sSL https://github.com/totakke/bosslint/releases/download/0.1.0/bosslint_macos -o bosslint
$ curl -sSL https://github.com/totakke/bosslint/releases/download/0.2.0/bosslint_macos -o bosslint
$ chmod +x bosslint
$ mv bosslint [/your/PATH/dir/]
```

### Linux

```console
$ curl -sSL https://github.com/totakke/bosslint/releases/download/0.1.0/bosslint_linux -o bosslint
$ curl -sSL https://github.com/totakke/bosslint/releases/download/0.2.0/bosslint_linux -o bosslint
$ chmod +x bosslint
$ mv bosslint [/your/PATH/dir/]
```
Expand All @@ -34,6 +39,9 @@ $ mv bosslint [/your/PATH/dir/]

## Usage

Bosslint collects changed files under Git version control and checks them with
appropriate linters.

```console
$ bosslint check HEAD~1
clj-kondo:
Expand All @@ -48,6 +56,12 @@ eastwood:
== Warnings: 0 (not including reflection warnings) Exceptions thrown: 0
```

Use `:all` to check all files under a Git project.

```console
$ bosslint check :all
```

### Configuration

Bosslint implicitly loads `~/.bosslint/config.edn` file.
Expand All @@ -71,6 +85,7 @@ Look at the [configuration example](example/config.edn).
- [hadolint](https://github.com/hadolint/hadolint)
- [stylelint](https://stylelint.io/)
- [SwiftLint](https://realm.github.io/SwiftLint/)
- [yamllint](https://yamllint.readthedocs.io/)

## License

Expand Down
2 changes: 1 addition & 1 deletion src/bosslint/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[io.aviso.ansi :as ansi])
(:gen-class))

(def version "0.2.0-SNAPSHOT")
(def version "0.2.0")

(defn- assert-command [command]
(when-not (util/command-exists? command)
Expand Down

0 comments on commit fd31224

Please sign in to comment.