forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,41 @@ | ||
--- | ||
exclude_paths: | ||
- ".git/" | ||
- "**.gif" | ||
- "**.html" | ||
- "**.json" | ||
- "**.png" | ||
- "**.svg" | ||
- "**.xml" | ||
- "**.yaml" | ||
- "**.yml" | ||
- "config/dictionary_strings.rb" | ||
- "config/model_attributes.rb" | ||
- "config/yaml_strings.rb" | ||
- "db/schema.rb" | ||
- "db/schema.yml" | ||
- "db/fixtures/**/*.yml" | ||
- "db/migrate/20130923182042_collapsed_initial_migration.rb" | ||
- "locale/" | ||
- "spec/" | ||
- "test/" | ||
- "tmp/" | ||
- "vendor/assets/" | ||
engines: | ||
brakeman: | ||
# very slow :sad_panda: | ||
version: '2' | ||
prepare: | ||
fetch: | ||
- url: https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_base.yml | ||
path: ".rubocop_base.yml" | ||
- url: https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_cc_base.yml | ||
path: ".rubocop_cc_base.yml" | ||
checks: | ||
argument-count: | ||
enabled: false | ||
bundler-audit: | ||
# requires Gemfile.lock | ||
complex-logic: | ||
enabled: false | ||
csslint: | ||
file-lines: | ||
enabled: false | ||
duplication: | ||
enabled: true | ||
method-complexity: | ||
config: | ||
concurrency: 1 | ||
languages: | ||
- ruby | ||
eslint: | ||
threshold: 11 | ||
method-count: | ||
enabled: false | ||
fixme: | ||
# let's enable later | ||
method-lines: | ||
enabled: false | ||
markdownlint: | ||
# let's enable later | ||
nested-control-flow: | ||
enabled: false | ||
return-statements: | ||
enabled: false | ||
plugins: | ||
rubocop: | ||
enabled: true | ||
config: '.rubocop_cc.yml' | ||
prepare: | ||
fetch: | ||
- url: "https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_base.yml" | ||
path: ".rubocop_base.yml" | ||
- url: "https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_cc_base.yml" | ||
path: ".rubocop_cc_base.yml" | ||
ratings: | ||
paths: | ||
- Gemfile.lock | ||
- "**.rake" | ||
- "**.rb" | ||
config: ".rubocop_cc.yml" | ||
exclude_patterns: | ||
- config/dictionary_strings.rb | ||
- config/model_attributes.rb | ||
- config/yaml_strings.rb | ||
- db/schema.rb | ||
- lib/generators/providers/templates/ | ||
- node_modules/ | ||
- spec/ | ||
- test/ | ||
- tmp/ | ||
- vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
inherit_from: | ||
- https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_base.yml | ||
# put all local rubocop config into .rubocop_local.yml as it will be loaded by .rubocop_cc.yml as well | ||
- .rubocop_local.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
inherit_from: | ||
# this is downloaded by .codeclimate.yml | ||
- .rubocop_base.yml | ||
- .rubocop_cc_base.yml | ||
- .rubocop_local.yml |