rubomatic 0.0.1.pre.rc.2 → 0.0.1.pre.rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ inherit_from:
2
+ - ./brands_insurance/rubocop.yml
3
+ - ./bundler.yml
4
+ - ./gemspec.yml
5
+ # - ./gemspec_on.yml
6
+ - ./layout.yml
7
+ - ./lint.yml
8
+ - ./metrics.yml
9
+ - ./migration.yml
10
+ - ./naming.yml
11
+ - ./performance.yml
12
+ - ./rails.yml
13
+ - ./security.yml
14
+ - ./style.yml
15
+
16
+ inherit_mode:
17
+ merge:
18
+ - Exclude
19
+
20
+ AllCops:
21
+ NewCops: disable
22
+ Exclude:
23
+ - 'vendor/**/*'
24
+ - 'spec/fixtures/**/*'
25
+ - 'tmp/**/*'
26
+ - '.git/**/*'
27
+ - 'bin/*'
28
+ - '.idea/*'
29
+ - 'log/*'
30
+ - 'node_modules/**/*'
31
+ - 'test/**/*'
32
+ - '.irbrc'
33
+ - 'db/schema.rb'
34
+ TargetRubyVersion: <%= ENV['RUBY_MAJOR'] %>
35
+ SuggestExtensions: false
36
+ StyleGuideBaseURL: https://github.com/BrandsInsurance/expert-chainsaw/blob/main/ruby/RUBY_STYLE_GUIDE.adoc
37
+ ActiveSupportExtensionsEnabled: true
@@ -0,0 +1,53 @@
1
+ Security/CompoundHash:
2
+ Description: 'When overwriting Object#hash to combine values, prefer delegating to Array#hash over writing a custom implementation.'
3
+ Enabled: true
4
+ VersionAdded: '1.28'
5
+
6
+ Security/Eval:
7
+ Description: 'The use of eval represents a serious security risk.'
8
+ Enabled: true
9
+ VersionAdded: '0.47'
10
+
11
+ Security/IoMethods:
12
+ Description: >-
13
+ Checks for the first argument to `IO.read`, `IO.binread`, `IO.write`, `IO.binwrite`,
14
+ `IO.foreach`, and `IO.readlines`.
15
+ Enabled: true
16
+ Safe: false
17
+ VersionAdded: '1.22'
18
+
19
+ Security/JSONLoad:
20
+ Description: >-
21
+ Prefer usage of `JSON.parse` over `JSON.load` due to potential
22
+ security issues. See reference for more information.
23
+ Reference: 'https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html#method-i-load'
24
+ Enabled: true
25
+ VersionAdded: '0.43'
26
+ VersionChanged: '1.22'
27
+ # Autocorrect here will change to a method that may cause crashes depending
28
+ # on the value of the argument.
29
+ SafeAutoCorrect: false
30
+
31
+ Security/MarshalLoad:
32
+ Description: >-
33
+ Avoid using of `Marshal.load` or `Marshal.restore` due to potential
34
+ security issues. See reference for more information.
35
+ Reference: 'https://ruby-doc.org/core-2.7.0/Marshal.html#module-Marshal-label-Security+considerations'
36
+ Enabled: true
37
+ VersionAdded: '0.47'
38
+
39
+ Security/Open:
40
+ Description: 'The use of `Kernel#open` and `URI.open` represent a serious security risk.'
41
+ Enabled: true
42
+ VersionAdded: '0.53'
43
+ VersionChanged: '1.0'
44
+ Safe: false
45
+
46
+ Security/YAMLLoad:
47
+ Description: >-
48
+ Prefer usage of `YAML.safe_load` over `YAML.load` due to potential
49
+ security issues. See reference for more information.
50
+ Reference: 'https://ruby-doc.org/stdlib-2.7.0/libdoc/yaml/rdoc/YAML.html#module-YAML-label-Security'
51
+ Enabled: true
52
+ VersionAdded: '0.47'
53
+ SafeAutoCorrect: false