Skip to content

Commit a2d5b16

Browse files
author
pierre golfier
committed
update LineLength rule
1 parent 4ac2872 commit a2d5b16

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Or, for a Ruby library, add this to your gemspec:
1414
spec.add_development_dependency 'rubocop-codeur'
1515
```
1616

17+
In order to authenticate to the Github Packages service, you will need to go through [this guide](https://docs.github.com/en/packages/guides/configuring-rubygems-for-use-with-github-packages)
18+
1719
## Usage
1820
Create a `.rubocop.yml` with the following directives:
1921
```yml
@@ -25,9 +27,8 @@ inherit_gem:
2527
Then run:
2628
`bundle exec rubocop`
2729

28-
You do not need to include rubocop directly in your application's dependencies. rubocop-codeur will include `rubocop`, `rubocop-minitest`, `rubocop-performance` and `rubocop-rails` dependencies.
30+
You don't need to include rubocop directly in your application's dependencies. rubocop-codeur will include `rubocop`, `rubocop-minitest`, `rubocop-performance` and `rubocop-rails` dependencies.
2931

30-
## FYI
3132
It might be necessary to override style rules set in this gem for some projects or to add specific ones. Rule inheritance provided by Rubocop works like the following:
3233
`inherit_gem → inherit_from → local rules`
3334

@@ -45,3 +46,4 @@ AllCops:
4546
```
4647

4748
Note that this should be limited to very project-specify needs in order to keep consistency across repos. Feel free to clone, checkout, update `default.yml` and submit a pull request if you want to suggest style rules changes.
49+

default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Layout/HashAlignment:
3737

3838
Layout/LineLength:
3939
Max: 200
40+
AutoCorrect: false
4041
Exclude:
4142
- 'db/migrate/*'
4243

lib/rubocop_codeur/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module RubocopCodeur
4-
VERSION = '0.1.2'
4+
VERSION = '0.1.3'
55
end

0 commit comments

Comments
 (0)