Closed prosanelli closed 9 years ago
rubocop gem on the command line only scans my app folder for *.rb files.
rubocop -R --format files
while codeclimate cli will scan image files in app/assets and files in the root of my rails apps like .travis.yml or Gemfile.
AllCops: DisabledByDefault: false RunRailsCops: true Include: - 'app/**/*.rb' Exclude: - 'bin/**/*' - 'config/**/*' - 'coverage/**/*' - 'db/**/*' - 'docs/**/*' - 'features/**/*' - 'lib/**/*' - 'log/**/*' - 'public/**/*' - 'script/**/*' - 'spec/**/*' - 'test_site/**/*' - 'tmp/**/*' - 'vendor/**/*'
--- engines: rubocop: enabled: true ratings: paths: - "**.rb" - "**.coffee" - "**.js" - "**.jsx" - "**.css" - "**.scss" exclude_paths: - bin/**/* - config/**/* - db/**/* - features/**/* - log/**/* - public/**/* - script/**/* - spec/**/* - test_site/**/* - tmp/**/* - vendor/**/* - ".codeclimate.yml" - ".csslintrc" - ".eslintrc" - ".rubocop.yml" - ".gitignore"
Is my codeclimate config file correct?
Hi @prosanelli that should be fixed with this commit, which I've just released to docker hub. Can you run codeclimate engines:install and try again?
codeclimate engines:install
:+1: that worked. thanks.
rubocop gem on the command line only scans my app folder for *.rb files.
while codeclimate cli will scan image files in app/assets and files in the root of my rails apps like .travis.yml or Gemfile.
Is my codeclimate config file correct?