Sha256: 774cfc6abb4e20473a448f850eb18472764543dca4e744745551866f7e48838b
Contents?: true
Size: 843 Bytes
Versions: 3
Compression:
Stored size: 843 Bytes
Contents
# MLH Rubocop Configuration The MLH Rubocop Configuration provides a set of rules and guidelines for Ruby code. ## Usage To use the MLH Rubocop Configuration in your Ruby project, follow these steps: 1. Add the MLH Rubocop Configuration gem to your Gemfile: ```ruby gem "mlh-rubocop-config" ``` 2. In your project's `.rubocop.yml` file, include the MLH Rubocop Configuration by using the inherit_gem directive: ``` inherit_gem: mlh-rubocop-config: .rubocop.yml ``` ## Example Here's an example of how your project's `.rubocop.yml` file might look like when using the MLH Rubocop Configuration: ``` # Inherit rules from the MLH Rubocop Configuration inherit_gem: mlh-rubocop-config: .rubocop.yml # Add project-specific rules or overrides AllCops: Exclude: - spec/**/* # Exclude spec files from Rubocop analysis ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mlh-rubocop-config-1.0.3 | README.md |
mlh-rubocop-config-1.0.2 | README.md |
mlh-rubocop-config-1.0.1 | README.md |