Sha256: e9ef85d1bb2e7d3bc4f2e58aa903f8c97a9290abbdb337d553507fd84be42c2a

Contents?: true

Size: 851 Bytes

Versions: 14

Compression:

Stored size: 851 Bytes

Contents

require:
  - './lib/simplycop/custom_cops/timecop_without_block.rb'
  - './lib/simplycop/custom_cops/dont_print_all_env.rb'
  - './lib/simplycop/custom_cops/no_foreground_indices.rb'

AllCops:
  ExtraDetails: true

CustomCops/TimecopWithoutBlock:
  Enabled: true
  Details: >-
    Time in all tests is faked to be midday. Using `Timecop.return` rather than the block format will spoil that for all subsequent tests.
    `https://github.com/simplybusiness/chopin/pull/10607`

CustomCops/DontPrintAllEnv:
  Enabled: true
  Details: >-
    This cop checks if someone accidentally print all environment variables as they may contain secrets.

CustomCops/NoForegroundIndices:
  Enabled: true
  Details: We want to prevent adding Mongoid indices that are not in background, otherwise the collection will lock during indexing.

  Include:
    - app/models/*

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
simplycop-2.12.1 .custom_simplycop.yml
simplycop-2.12.0 .custom_simplycop.yml
simplycop-2.11.1 .custom_simplycop.yml
simplycop-2.11.0 .custom_simplycop.yml
simplycop-2.10.0 .custom_simplycop.yml
simplycop-2.9.1 .custom_simplycop.yml
simplycop-2.9.0 .custom_simplycop.yml
simplycop-2.8.0 .custom_simplycop.yml
simplycop-2.7.2 .custom_simplycop.yml
simplycop-2.7.1 .custom_simplycop.yml
simplycop-2.7.0 .custom_simplycop.yml
simplycop-2.6.0 .custom_simplycop.yml
simplycop-2.5.1 .custom_simplycop.yml
simplycop-2.5.0 .custom_simplycop.yml