rubocop-nuzz-core 0.1.0
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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data/rubocop-defaults.yml +1916 -0
- data/rubocop.yml +72 -0
- data.tar.gz.sig +2 -0
- metadata +86 -0
- metadata.gz.sig +0 -0
data/rubocop.yml
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
inherit_from: rubocop-defaults.yml
|
2
|
+
inherit_mode:
|
3
|
+
merge:
|
4
|
+
- Exclude
|
5
|
+
AllCops:
|
6
|
+
SuggestExtensions: false
|
7
|
+
DisabledByDefault: true
|
8
|
+
Include:
|
9
|
+
- "**/*.rb"
|
10
|
+
- "**/*.rbi"
|
11
|
+
- "**/*.gemfile"
|
12
|
+
- "**/*.gemspec"
|
13
|
+
- "**/*.rake"
|
14
|
+
- "**/*.ru"
|
15
|
+
- "Gemfile"
|
16
|
+
- "Rakefile"
|
17
|
+
Exclude:
|
18
|
+
# Excluding commonly-used non-ruby paths for performance
|
19
|
+
# Even if the files are not parsed, rubocop still needs to grok the directories
|
20
|
+
# I have personally seen these excludes prevent a 30+ second delay in one situation
|
21
|
+
- "data/**/*"
|
22
|
+
- "docker/**/*"
|
23
|
+
- "docs/**/*"
|
24
|
+
- "log/**/*"
|
25
|
+
- "node_modules/**/*"
|
26
|
+
- "public/**/*"
|
27
|
+
- "tmp/**/*"
|
28
|
+
# Exclude common auto-generated rb files (these will be moved out from this core gem eventually)
|
29
|
+
- "db/schema.rb"
|
30
|
+
- "sorbet/rbi/{annotations,dsl,gems}/**/*"
|
31
|
+
- "sorbet/rails-rbi/**/*"
|
32
|
+
# Exclude vendored gems
|
33
|
+
- "vendor/**/*"
|
34
|
+
|
35
|
+
# Optimal for my editor layout
|
36
|
+
Layout/LineLength:
|
37
|
+
Max: 119
|
38
|
+
|
39
|
+
# Rely on code reviews instead of imposing these constraints
|
40
|
+
Metrics/CyclomaticComplexity:
|
41
|
+
Enabled: false
|
42
|
+
Metrics/PerceivedComplexity:
|
43
|
+
Enabled: false
|
44
|
+
Metrics/AbcSize:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
# I prefer to use this as a reminder rather than a rule, disable inline as needed
|
48
|
+
Metrics/ModuleLength:
|
49
|
+
Max: 500
|
50
|
+
Metrics/ClassLength:
|
51
|
+
Max: 500
|
52
|
+
Metrics/MethodLength:
|
53
|
+
Enabled: false
|
54
|
+
Metrics/BlockLength:
|
55
|
+
Enabled: false
|
56
|
+
|
57
|
+
# Doesn't work with Sorbet, but I prefer to leave this off regardless
|
58
|
+
Naming/BlockForwarding:
|
59
|
+
Enabled: false
|
60
|
+
Style/ArgumentsForwarding:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
# I'd rather have no documentation than useless documentation, which is all this will do.
|
64
|
+
# Documentation has to be inspired, not forced
|
65
|
+
Style/Documentation:
|
66
|
+
Enabled: false
|
67
|
+
|
68
|
+
# Disabled to prevent code from being unintentionally changed by the autoformatter while coding.
|
69
|
+
# This has happened to me more than once, and it went unnoticed at first.
|
70
|
+
# There are also cases where I disagree with this cop, so let's just disable it entirely.
|
71
|
+
Style/GuardClause:
|
72
|
+
Enabled: false
|
data.tar.gz.sig
ADDED
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubocop-nuzz-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mark Nuzzolilo
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRAwDgYDVQQDDAdudXp6
|
14
|
+
NjA0MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJk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DT0cglViQ9gfgIwb5jW31iFSzgsbi1Dtg+CYUsVNdCqkbzINpePjGTrN
|
30
|
+
VYfr7B7IWOULAddJXqDo7Qk/QkBAzabbtsvkVADUDUr+iNOhrkBwFihvyxW/WFDq
|
31
|
+
2fXpX7PGBi/7SKYwgr1EBQH6DCrMLDVqK0o5TO41DtVMUx46IDt2k+iQRx+uweWm
|
32
|
+
Ax3WcY1uqbjm6NSOq4glL3OfU4myg/VW275mlUFtwY0MNduJEU32zCMO/qZOfgmL
|
33
|
+
aGwreOOQNQLyAnmuTmKwdULbaCHUFuuIICVF3ycg4TPLMJ5Y0XX6qF+n3gkTbQAy
|
34
|
+
7gTKHlxexH7spfreQdbguItYZjlMrrwbNDYF27PSO1pB1vaIWzzp0LBCDW4a6QBy
|
35
|
+
l3M/x0isEfA0vm9siVFTc8dJScj4GG5w6QwwADhHByHrf1ai1HQLjssM2fFgT3kN
|
36
|
+
Dj/Pi+mdqsYyvI22wuzRQGSgUYKpwmFY+lh6EGhM9ig=
|
37
|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2024-10-17 00:00:00.000000000 Z
|
39
|
+
dependencies:
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: rubocop
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.67'
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.67'
|
54
|
+
description:
|
55
|
+
email: nuzz604@gmail.com
|
56
|
+
executables: []
|
57
|
+
extensions: []
|
58
|
+
extra_rdoc_files: []
|
59
|
+
files:
|
60
|
+
- rubocop-defaults.yml
|
61
|
+
- rubocop.yml
|
62
|
+
homepage: https://github.com/marknuzz/rubocop-nuzz
|
63
|
+
licenses:
|
64
|
+
- MIT
|
65
|
+
metadata:
|
66
|
+
rubygems_mfa_required: 'true'
|
67
|
+
post_install_message:
|
68
|
+
rdoc_options: []
|
69
|
+
require_paths:
|
70
|
+
- lib
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.0.0
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubygems_version: 3.5.16
|
83
|
+
signing_key:
|
84
|
+
specification_version: 4
|
85
|
+
summary: Nuzz's Ruby Style (Core)
|
86
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|