From fd312247684e2a6f678de3339f64a9214dad0bc3 Mon Sep 17 00:00:00 2001 From: Toshiki Takeuchi Date: Fri, 20 Mar 2020 15:09:06 +0900 Subject: [PATCH] Release 0.2.0 --- CHANGELOG.md | 10 ++++++++-- README.md | 21 ++++++++++++++++++--- src/bosslint/main.clj | 2 +- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef2ddff..6d0297c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 3d707a5..fc8c68b 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,20 @@ # 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/] ``` @@ -17,7 +22,7 @@ $ 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/] ``` @@ -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: @@ -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. @@ -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 diff --git a/src/bosslint/main.clj b/src/bosslint/main.clj index be177a5..0f38da5 100644 --- a/src/bosslint/main.clj +++ b/src/bosslint/main.clj @@ -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)