.custom_simplycop.yml in simplycop-1.2.0 vs .custom_simplycop.yml in simplycop-1.3.0
- old
+ new
@@ -1,11 +1,17 @@
require:
- './lib/simplycop/custom_cops/timecop_without_block.rb'
+ - './lib/simplycop/custom_cops/dont_print_all_env.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.