Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit e181da1

Browse files
committed
Update RuboCop Rails option docs for RuboCop >= 0.72.0
1 parent ea0c6a9 commit e181da1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Settings available (in your VSCode workspace) for each of the linters:
156156
"except": [/* array: Run all cops enabled by configuration except the specified cop(s) and/or departments. */],
157157
"forceExclusion": true, //Add --force-exclusion option
158158
"require": [/* array: Require Ruby files. */],
159-
"rails": true //Run extra rails cops
159+
"rails": true //Run extra rails cops. Note [this was removed in RuboCop 0.72.0](https://github.com/rubocop-hq/rubocop/issues/5976)
160160
}
161161
```
162162
## Formatting

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
"rails": {
297297
"type": "boolean",
298298
"default": false,
299-
"description": "Rails cops are specific to the Ruby on Rails framework"
299+
"description": "Rails cops are specific to the Ruby on Rails framework. These cops require the rubocop-rails gem for RuboCop >= 0.72.0"
300300
}
301301
}
302302
},

0 commit comments

Comments
 (0)