From 96882291605bae64263e510f076f626a50d1b04f Mon Sep 17 00:00:00 2001 From: Justin Licata Date: Wed, 22 Nov 2017 11:14:16 -0600 Subject: [PATCH] Add Code Climate (#41) * Add Code Climate * Add flog and markdown --- .codeclimate.yml | 30 ++++++++++++++++++++++++++++++ .hound.yml | 7 ------- .rubocop.yml | 30 ------------------------------ 3 files changed, 30 insertions(+), 37 deletions(-) create mode 100644 .codeclimate.yml delete mode 100644 .hound.yml delete mode 100644 .rubocop.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..865a095 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,30 @@ +prepare: + fetch: + - "https://raw.githubusercontent.com/ProctorU/guides/master/style/ruby/.rubocop.yml" + - "https://raw.githubusercontent.com/ProctorU/guides/master/style/scss/.scss-lint.yml" + +plugins: + brakeman: + enabled: true + fixme: + enabled: true + flog: + enabled: true + markdownlint: + enabled: true + reek: + enabled: true + rubocop: + enabled: true + scss-lint: + enabled: true + +exclude_patterns: + - 'config/' + - 'db/' + - 'docs/' + - 'node_modules/' + - 'public/' + - 'test/' + - 'tmp/' + - 'vendor/' diff --git a/.hound.yml b/.hound.yml deleted file mode 100644 index ce2c1f7..0000000 --- a/.hound.yml +++ /dev/null @@ -1,7 +0,0 @@ -# https://houndci.com/configuration - -ruby: - enabled: true - config_file: .rubocop.yml -jshint: - enabled: false diff --git a/.rubocop.yml b/.rubocop.yml deleted file mode 100644 index cdba019..0000000 --- a/.rubocop.yml +++ /dev/null @@ -1,30 +0,0 @@ -# https://raw.githubusercontent.com/thoughtbot/hound/master/config/style_guides/ruby.yml - -Layout/AlignArray: - Enabled: false -Layout/AlignHash: - Enabled: false -Layout/AlignParameters: - Enabled: false -Style/StringLiterals: - Enabled: false -Layout/MultilineOperationIndentation: - Enabled: false -Style/ClassAndModuleChildren: - Enabled: false -LineLength: - Max: 80 -ExtraSpacing: - Enabled: false -AbcSize: - Enabled: false -Layout/SpaceBeforeFirstArg: - Enabled: false -AmbiguousOperator: - Enabled: false -MultilineMethodCallIndentation: - Enabled: false -Style/FrozenStringLiteralComment: - Enabled: false -Style/ParenthesesAroundCondition: - Enabled: false