https://github.com/jobteaser/shared-config-files
Config files shared between several JobTeaser project
https://github.com/jobteaser/shared-config-files
codeclimate reek rubocop
Last synced: 4 months ago
JSON representation
Config files shared between several JobTeaser project
- Host: GitHub
- URL: https://github.com/jobteaser/shared-config-files
- Owner: jobteaser
- Created: 2018-10-19T08:06:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T08:33:41.000Z (about 2 years ago)
- Last Synced: 2024-04-16T09:01:54.164Z (about 2 years ago)
- Topics: codeclimate, reek, rubocop
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 27
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# shared-config-files
This repository contains files shared between several JobTeaser project. It can be config for linter, quality, security static analysis tools or anything you need.
## Rubocop usage
Create a `.rubocop.yml` with the following directives:
```
inherit_from:
- https://raw.githubusercontent.com/jobteaser/shared-config-files/master/ruby/rubocop/default.yml
```
Now, run:
```
$ bundle exec rubocop
```
For Code Climate usage, add in your `.code_climate.yml` config file the following lines:
```
version: "2"
prepare:
fetch:
- url: https://raw.githubusercontent.com/jobteaser/shared-config-files/master/ruby/rubocop/default.yml
path: .rubocop-https---raw-githubusercontent-com-jobteaser-shared-config-files-master-ruby-rubocop-default-yml
```
## Reek usage
Reek does not support remote config file. Clone the repository and run the following command with the path to the config file:
```
$ bundle exec reek -c /ruby/reek/default.yml
```
For Code Climate usage, add in your `.code_climate.yml` config file the following lines:
```
version: "2"
prepare:
fetch:
- url: https://raw.githubusercontent.com/jobteaser/code_climate_ruby/master/lib/reek/default.yml
path: .reek.yml
```