Sha256: 8b41ef88c3200b3be5c9fa20f3d6938ad88eb1162f605e8533479a6d9723f392

Contents?: true

Size: 924 Bytes

Versions: 6

Compression:

Stored size: 924 Bytes

Contents

Discourse/NoChdir:
  Enabled: true
  Exclude:
    - 'spec/**/*' # Specs are run sequentially, so chdir can be used
    - 'plugins/*/spec/**/*'

Discourse/NoTimeNewWithoutArgs:
  Enabled: true

Discourse/NoURIEscapeEncode:
  Enabled: true

Discourse/NoAddReferenceOrAliasesActiveRecordMigration:
  Enabled: true
  Include:
  - "**/db/migrate/*"
  - "**/db/post_migrate/*"

Discourse/NoNokogiriHtmlFragment:
  Enabled: true

Discourse/NoResetColumnInformationInMigrations:
  Enabled: false
  Include:
  - "**/db/migrate/*"
  - "**/db/post_migrate/*"

# Specs

Discourse/NoDirectMultisiteManipulation:
  Enabled: true
  Patterns:
  - _spec.rb
  - "(?:^|/)spec/"

Discourse/TimeEqMatcher:
  Enabled: true
  Patterns:
  - _spec.rb
  - "(?:^|/)spec/"

Discourse/NoJsonParseResponse:
  Enabled: false
  Patterns:
  - _spec.rb
  - "(?:^|/)spec/"

Discourse/NoMockingJobs:
  Enabled: true
  Patterns:
  - _spec.rb
  - "(?:^|/)spec/"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubocop-discourse-2.4.2 config/default.yml
rubocop-discourse-2.4.1 config/default.yml
rubocop-discourse-2.4.0 config/default.yml
rubocop-discourse-2.3.2 config/default.yml
rubocop-discourse-2.3.1 config/default.yml
rubocop-discourse-2.3.0 config/default.yml