diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index a933d49..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: "2" -prepare: - fetch: - - url: https://raw.githubusercontent.com/rggen/rggen-devtools/master/config/rubocop_common.yml - path: rubocop_common.yml -plugins: - duplication: - enabled: true - config: - languages: - - ruby: - fixme: - enabled: true - rubocop: - enabled: true - channel: beta -exclude_patterns: - - "spec/" diff --git a/.qlty/qlty.toml b/.qlty/qlty.toml new file mode 100644 index 0000000..89054a0 --- /dev/null +++ b/.qlty/qlty.toml @@ -0,0 +1,21 @@ +config_version = "0" + +exclude_patterns = [ + "**/.github/**", + "**/spec/**" +] + +test_patterns = [ + "**/spec/**" +] + +[[source]] +name = "default" +default = true + +[smells] +mode = "comment" + +[[plugin]] +name = "rubocop" +version = "1.64.0" diff --git a/.rubocop.yml b/.rubocop.yml index 5f8c93a..ab8cf3a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ -<% if File.exist?('rubocop_common.yml') %> +<% if Gem::Specification.find_all_by_name('rggen-devtools').empty? %> inherit_from: - - rubocop_common.yml + - https://raw.githubusercontent.com/rggen/rggen-devtools/master/config/rubocop_common.yml - .rubocop_todo.yml <% else %> inherit_gem: diff --git a/README.md b/README.md index 9df78ef..7ea5ea3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Gem Version](https://badge.fury.io/rb/rggen-markdown.svg)](https://badge.fury.io/rb/rggen-markdown) [![CI](https://github.com/rggen/rggen-markdown/workflows/CI/badge.svg)](https://github.com/rggen/rggen-markdown/actions?query=workflow%3ACI) -[![Maintainability](https://api.codeclimate.com/v1/badges/5bbd7d84fefb30c5ee9a/maintainability)](https://codeclimate.com/github/rggen/rggen-markdown/maintainability) +[![Maintainability](https://qlty.sh/badges/c7a4da9b-9276-459d-adc0-89582cb7d4cf/maintainability.svg)](https://qlty.sh/gh/rggen/projects/rggen-markdown) [![codecov](https://codecov.io/gh/rggen/rggen-markdown/branch/master/graph/badge.svg)](https://codecov.io/gh/rggen/rggen-markdown) [![Gitter](https://badges.gitter.im/rggen/rggen.svg)](https://gitter.im/rggen/rggen?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)