mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:09:18 +08:00
Upgrade rubocop and generate rubocop todo.
This commit is contained in:
parent
3e888cbb5d
commit
f096181653
|
@ -1,2 +1,7 @@
|
||||||
|
inherit_from: .rubocop_todo.yml
|
||||||
|
|
||||||
inherit_gem:
|
inherit_gem:
|
||||||
rubocop-discourse: default.yml
|
rubocop-discourse: default.yml
|
||||||
|
|
||||||
|
Discourse/NoResetColumnInformationInMigrations:
|
||||||
|
Enabled: true
|
||||||
|
|
18
.rubocop_todo.yml
Normal file
18
.rubocop_todo.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# This configuration was generated by
|
||||||
|
# `rubocop --auto-gen-config`
|
||||||
|
# on 2020-06-17 14:48:01 +0800 using RuboCop version 0.85.1.
|
||||||
|
# The point is for the user to remove these configuration records
|
||||||
|
# one by one as the offenses are removed from the code base.
|
||||||
|
# Note that changes in the inspected code, or installation of new
|
||||||
|
# versions of RuboCop, may require this file to be generated again.
|
||||||
|
|
||||||
|
# Offense count: 60
|
||||||
|
# Configuration parameters: Include.
|
||||||
|
# Include: **/db/migrate/*, **/db/post_migrate/*
|
||||||
|
Discourse/NoAddReferenceOrAliasesActiveRecordMigration:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
|
# Offense count: 1
|
||||||
|
Discourse/NoURIEscapeEncode:
|
||||||
|
Exclude:
|
||||||
|
- 'lib/file_store/s3_store.rb'
|
|
@ -249,7 +249,7 @@ GEM
|
||||||
sanitize
|
sanitize
|
||||||
openssl-signature_algorithm (0.4.0)
|
openssl-signature_algorithm (0.4.0)
|
||||||
optimist (3.0.1)
|
optimist (3.0.1)
|
||||||
parallel (1.19.1)
|
parallel (1.19.2)
|
||||||
parallel_tests (3.0.0)
|
parallel_tests (3.0.0)
|
||||||
parallel
|
parallel
|
||||||
parser (2.7.1.3)
|
parser (2.7.1.3)
|
||||||
|
@ -359,7 +359,7 @@ GEM
|
||||||
unicode-display_width (>= 1.4.0, < 2.0)
|
unicode-display_width (>= 1.4.0, < 2.0)
|
||||||
rubocop-ast (0.0.3)
|
rubocop-ast (0.0.3)
|
||||||
parser (>= 2.7.0.1)
|
parser (>= 2.7.0.1)
|
||||||
rubocop-discourse (2.1.2)
|
rubocop-discourse (2.2.0)
|
||||||
rubocop (>= 0.69.0)
|
rubocop (>= 0.69.0)
|
||||||
rubocop-rspec (>= 1.39.0)
|
rubocop-rspec (>= 1.39.0)
|
||||||
rubocop-rspec (1.40.0)
|
rubocop-rspec (1.40.0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user