immosquare-cleaner 0.1.111 → 0.1.112

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df92d5d39e8e527c5e4dc8c27d43e32f6bc7869a8a31d5c6c2c27ce7c4f60578
4
- data.tar.gz: 3be27a0c4d98aba94ac7a3c5ca5de9f596d9000523d739ae4e6a3f2b659c8aa3
3
+ metadata.gz: 2c407600e73a53615174a32fd5ace45061198149b4766d5d58f87b1c70259c7d
4
+ data.tar.gz: 0c6dd5c21fe60286cc8a36274699e6e386cfd4dd66537e7df69837231e0d3482
5
5
  SHA512:
6
- metadata.gz: da5c4c9e38e4cb32d60878ae849041784345b5a568ef1527e9957b55370123b4c4cdf61f6602325f45ccb78967f7f76a0f4f4d2efc11ce0e7699949f98ab132b
7
- data.tar.gz: f7d6d1a049a3b8b1a7fca4c4187288761fca0359d95b626c70d9e159d2e1092d8e20ef4131fb435a1b6cc0b582462f290e963dbe0f626ef80d35b57121a87125
6
+ metadata.gz: c4ff1f65787c47d1c038fbf47ca9e274945f9b54f391a23b2f708890e16cb80e80c10249e65473a7511bdbad9e89a2c4b6785a8a5f25d38d32ef4da1c2f0c90a
7
+ data.tar.gz: fc739665feafde006b1e1d7b46d0241f879ba2edc2434b418e23143635cbde42a28d8fcc64438d4233ed604c133f0d334175e30a00291c55d0adcfa802a518c0
@@ -1,3 +1,3 @@
1
1
  module ImmosquareCleaner
2
- VERSION = "0.1.111".freeze
2
+ VERSION = "0.1.112".freeze
3
3
  end
@@ -0,0 +1,22 @@
1
+ ---
2
+ EnableDefaultLinters: true
3
+ linters:
4
+ NoJavascriptTagHelper:
5
+ enabled: false
6
+ SpaceInHtmlTag:
7
+ enabled: false
8
+ CustomSingleLineIfModifier:
9
+ enabled: true
10
+ CustomHtmlToContentTag:
11
+ enabled: true
12
+ CustomAlignConsecutiveCalls:
13
+ enabled: true
14
+ methods:
15
+ - link_to
16
+ Rubocop:
17
+ enabled: true
18
+ rubocop_config:
19
+ inherit_from:
20
+ - linters/rubocop-4.0.6.yml
21
+ Layout/TrailingWhitespace:
22
+ Enabled: false
@@ -0,0 +1,26 @@
1
+ ---
2
+ EnableDefaultLinters: true
3
+ linters:
4
+ NoJavascriptTagHelper:
5
+ enabled: false
6
+ SpaceInHtmlTag:
7
+ enabled: false
8
+ SelfClosingTag:
9
+ enabled: false
10
+ RequireInputAutocomplete:
11
+ enabled: false
12
+ DeprecatedClassesInline:
13
+ enabled: false
14
+ HardCodedString:
15
+ enabled: false
16
+ CustomHtmlToContentTag:
17
+ enabled: false
18
+ CustomSingleLineIfModifier:
19
+ enabled: true
20
+ Rubocop:
21
+ enabled: true
22
+ rubocop_config:
23
+ inherit_from:
24
+ - linters/rubocop-4.0.6.yml
25
+ Layout/TrailingWhitespace:
26
+ Enabled: false
@@ -0,0 +1,215 @@
1
+ ---
2
+ require:
3
+ - rubocop/cop/style/method_call_with_args_parentheses_override
4
+ - rubocop/cop/custom_cops/style/comment_normalization
5
+ - rubocop/cop/custom_cops/style/font_awesome_normalization
6
+ - rubocop/cop/custom_cops/style/align_assignments
7
+ - rubocop/cop/custom_cops/style/inline_multiline_calls
8
+ - rubocop/cop/custom_cops/style/kwarg_priority_order
9
+ AllCops:
10
+ NewCops: enable
11
+ EnabledByDefault: false
12
+ UseCache: true
13
+ SuggestExtensions: false
14
+ ActiveSupportExtensionsEnabled: true
15
+ TargetRubyVersion: 4.0.6
16
+ ParserEngine: parser_prism
17
+ Metrics:
18
+ Enabled: false
19
+ Lint/UselessAssignment:
20
+ Enabled: false
21
+ Lint/RescueException:
22
+ Enabled: false
23
+ Lint/UnusedMethodArgument:
24
+ Enabled: false
25
+ Lint/UselessOr:
26
+ Enabled: false
27
+ Naming/VariableNumber:
28
+ Enabled: false
29
+ Naming/FileName:
30
+ Enabled: false
31
+ Naming/MethodParameterName:
32
+ MinNameLength: 1
33
+ Layout/LeadingEmptyLines:
34
+ Enabled: false
35
+ Layout/InitialIndentation:
36
+ Enabled: false
37
+ Layout/TrailingEmptyLines:
38
+ Enabled: false
39
+ Layout/ExtraSpacing:
40
+ Enabled: false
41
+ Layout/LineLength:
42
+ Enabled: false
43
+ Layout/TrailingWhitespace:
44
+ Enabled: true
45
+ Layout/EmptyLines:
46
+ Enabled: false
47
+ Layout/LeadingCommentSpace:
48
+ Enabled: false
49
+ Layout/SpaceInsideBlockBraces:
50
+ SpaceBeforeBlockParameters: false
51
+ Layout/EmptyLinesAroundClassBody:
52
+ EnforcedStyle: empty_lines
53
+ Layout/FirstHashElementIndentation:
54
+ EnforcedStyle: consistent
55
+ Layout/ArgumentAlignment:
56
+ EnforcedStyle: with_fixed_indentation
57
+ Layout/HashAlignment:
58
+ EnforcedHashRocketStyle: table
59
+ Layout/MultilineAssignmentLayout:
60
+ EnforcedStyle: same_line
61
+ Layout/SpaceInsideHashLiteralBraces:
62
+ EnforcedStyle: no_space
63
+ Layout/MultilineMethodCallIndentation:
64
+ EnforcedStyle: indented
65
+ Style/CombinableLoops:
66
+ Enabled: false
67
+ Style/SingleArgumentDig:
68
+ Enabled: false
69
+ Style/RedundantBegin:
70
+ Enabled: false
71
+ Style/MultilineTernaryOperator:
72
+ Enabled: false
73
+ Style/NestedTernaryOperator:
74
+ Enabled: false
75
+ Style/MultilineIfModifier:
76
+ Enabled: false
77
+ Style/FrozenStringLiteralComment:
78
+ Enabled: false
79
+ Style/Next:
80
+ Enabled: false
81
+ Style/Documentation:
82
+ Enabled: false
83
+ Style/IfUnlessModifierOfIfUnless:
84
+ Enabled: false
85
+ Style/NegatedIf:
86
+ Enabled: false
87
+ Style/FormatStringToken:
88
+ EnforcedStyle: template
89
+ Style/NumericPredicate:
90
+ EnforcedStyle: comparison
91
+ Style/StringLiterals:
92
+ EnforcedStyle: double_quotes
93
+ Style/StringLiteralsInInterpolation:
94
+ EnforcedStyle: double_quotes
95
+ Style/HashSyntax:
96
+ EnforcedStyle: hash_rockets
97
+ Style/WordArray:
98
+ EnforcedStyle: brackets
99
+ Style/SymbolArray:
100
+ EnforcedStyle: brackets
101
+ Style/RescueModifier:
102
+ Enabled: false
103
+ Style/NestedParenthesizedCalls:
104
+ Enabled: false
105
+ Style/MethodCallWithArgsParentheses:
106
+ Enabled: true
107
+ EnforcedStyle: require_parentheses
108
+ IgnoreMacros: false
109
+ AllowedMethods:
110
+ - require
111
+ - require_relative
112
+ - include
113
+ - extend
114
+ - prepend
115
+ - raise
116
+ - fail
117
+ - yield
118
+ - attr_accessor
119
+ - attr_reader
120
+ - attr_writer
121
+ - run
122
+ - exec
123
+ - load
124
+ - gem
125
+ - group
126
+ - source
127
+ - ruby
128
+ - install_plugin
129
+ - desc
130
+ - task
131
+ - namespace
132
+ - before_action
133
+ - after_action
134
+ - around_action
135
+ - skip_before_action
136
+ - prepend_before_action
137
+ - append_before_action
138
+ - helper_method
139
+ - layout
140
+ - rescue_from
141
+ - belongs_to
142
+ - has_many
143
+ - has_one
144
+ - has_and_belongs_to_many
145
+ - validates
146
+ - validate
147
+ - validates_presence_of
148
+ - validates_uniqueness_of
149
+ - validates_length_of
150
+ - validates_format_of
151
+ - validates_numericality_of
152
+ - validates_inclusion_of
153
+ - validates_exclusion_of
154
+ - validates_confirmation_of
155
+ - validates_acceptance_of
156
+ - validates_absence_of
157
+ - validates_associated
158
+ - validates_each
159
+ - validates_with
160
+ - after_initialize
161
+ - after_find
162
+ - before_validation
163
+ - after_validation
164
+ - before_save
165
+ - after_save
166
+ - around_save
167
+ - before_create
168
+ - after_create
169
+ - around_create
170
+ - before_update
171
+ - after_update
172
+ - around_update
173
+ - before_destroy
174
+ - after_destroy
175
+ - around_destroy
176
+ - after_touch
177
+ - after_commit
178
+ - after_rollback
179
+ - delegate
180
+ - enum
181
+ - get
182
+ - post
183
+ - put
184
+ - patch
185
+ - delete
186
+ - options
187
+ - head
188
+ - match
189
+ - root
190
+ - rake
191
+ - every
192
+ - command
193
+ - set
194
+ - append
195
+ - server
196
+ - after
197
+ CustomCops/Style/CommentNormalization:
198
+ Enabled: true
199
+ CustomCops/Style/FontAwesomeNormalization:
200
+ Enabled: true
201
+ CustomCops/Style/AlignAssignments:
202
+ Enabled: false
203
+ CustomCops/Style/InlineMultilineCalls:
204
+ Enabled: true
205
+ Methods:
206
+ - link_to
207
+ CustomCops/Style/KwargPriorityOrder:
208
+ Enabled: true
209
+ Methods:
210
+ - link_to
211
+ PriorityKeys:
212
+ - remote
213
+ - method
214
+ Gemspec/RequireMFA:
215
+ Enabled: false
data/linters/rubocop.yml CHANGED
@@ -110,6 +110,8 @@ Style/SymbolArray:
110
110
  EnforcedStyle: brackets # Format arrays as [:a, :b, :c], not %i[a b c]
111
111
  Style/RescueModifier:
112
112
  Enabled: false # Allow inline rescue modifier (some_method rescue SomeException)
113
+ Style/ArrayIntersect:
114
+ Enabled: false # The cop assumes the receiver of `include?` is a collection, so `MARKERS.any? { |m| some_string.include?(m) }` (searching several markers in one string) is rewritten as `MARKERS.intersect?(some_string)`. `Array#intersect?` only takes an Array, so the corrected code raises `TypeError: no implicit conversion of String into Array` — at runtime, not on save. The correction is unsafe, hence applied by our `--autocorrect-all`. Fixed upstream in rubocop/rubocop#15439 but unreleased as of 1.88.2; re-enable once a release ships it. To match several markers in a string, use `some_string.match?(Regexp.union(*MARKERS))`.
113
115
  Style/NestedParenthesizedCalls:
114
116
  Enabled: false # Redundant with Style/MethodCallWithArgsParentheses (require_parentheses) — both flag `outer(inner arg)`. RuboCop dedupes the inserted `(` but not the matching `)`, and erb_lint's integration ships both corrections independently → output gets an extra `)` (e.g. `j(render :partial => "x")` becomes `j(render(:partial => "x")))`, breaking the ERB at render time).
115
117
 
data/package.json CHANGED
@@ -2,18 +2,18 @@
2
2
  "name": "immosquare-cleaner",
3
3
  "private": true,
4
4
  "dependencies": {
5
- "@babel/parser": "^8.0.0",
5
+ "@babel/parser": "^8.0.4",
6
6
  "@eslint/js": "^10.0.1",
7
- "@typescript-eslint/eslint-plugin": "^8.63.0",
8
- "@typescript-eslint/parser": "^8.63.0",
9
- "eslint": "^10.6.0",
7
+ "@typescript-eslint/eslint-plugin": "^8.65.0",
8
+ "@typescript-eslint/parser": "^8.65.0",
9
+ "eslint": "^10.8.0",
10
10
  "eslint-plugin-align-assignments": "^1.1.2",
11
11
  "eslint-plugin-align-import": "^1.0.0",
12
12
  "eslint-plugin-erb": "^2.1.1",
13
13
  "eslint-plugin-prefer-arrow": "^1.2.3",
14
- "eslint-plugin-sonarjs": "^4.1.0",
14
+ "eslint-plugin-sonarjs": "^4.2.0",
15
15
  "eslint-plugin-unused-imports": "^4.4.1",
16
- "prettier": "^3.9.4",
17
- "typescript": "^5"
16
+ "prettier": "^3.9.6",
17
+ "typescript": "^7.0.2"
18
18
  }
19
19
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.111
4
+ version: 0.1.112
5
5
  platform: ruby
6
6
  authors:
7
7
  - immosquare
@@ -178,6 +178,7 @@ files:
178
178
  - lib/tasks/immosquare_cleaner.rake
179
179
  - linters/erb-lint-4.0.4.yml
180
180
  - linters/erb-lint-4.0.5.yml
181
+ - linters/erb-lint-4.0.6.yml
181
182
  - linters/erb-lint.yml
182
183
  - linters/erb_lint/custom_align_consecutive_calls.rb
183
184
  - linters/erb_lint/custom_html_to_content_tag.rb
@@ -186,11 +187,13 @@ files:
186
187
  - linters/eslint.config.mjs
187
188
  - linters/js-erb-lint-4.0.4.yml
188
189
  - linters/js-erb-lint-4.0.5.yml
190
+ - linters/js-erb-lint-4.0.6.yml
189
191
  - linters/js-erb-lint.yml
190
192
  - linters/normalize-comments.mjs
191
193
  - linters/prettier.yml
192
194
  - linters/rubocop-4.0.4.yml
193
195
  - linters/rubocop-4.0.5.yml
196
+ - linters/rubocop-4.0.6.yml
194
197
  - linters/rubocop.yml
195
198
  - linters/rubocop/cop/custom_cops/style/align_assignments.rb
196
199
  - linters/rubocop/cop/custom_cops/style/comment_normalization.rb
@@ -218,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
221
  - !ruby/object:Gem::Version
219
222
  version: '0'
220
223
  requirements: []
221
- rubygems_version: 4.0.15
224
+ rubygems_version: 4.0.17
222
225
  specification_version: 4
223
226
  summary: A gem to lint and organize files in a Rails application.
224
227
  test_files: []