Skip to content

Commit

Permalink
Config example for Rails Best Practices
Browse files Browse the repository at this point in the history
  • Loading branch information
noahsw committed Aug 11, 2015
1 parent 8a6e5ce commit 76a2a38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ MetricFu.configuration.configure_metrics.each do |metric|
end
```

### Rails Best Practices
```ruby
MetricFu::Configuration.run do |config|
config.configure_metric(:rails_best_practices) do |rbp|
rbp.silent = true
rbp.exclude = ["config/chef"]
end
end
```

## Formatters

### Built-in Formatters
Expand Down

0 comments on commit 76a2a38

Please sign in to comment.