rubocop-rubyfmt 0.1.1 → 0.1.2
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/config/default.yml +5 -0
- data/lib/rubocop/rubyfmt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32cc837a7e036e4b9d85ab30c4e7af462d34c7b37dcf5f31b2a6a5ba753e4c93
|
|
4
|
+
data.tar.gz: 4433f231896b1be5eea4a1fcc414341d38eab783d87fe25451ee273afe956af5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97dd23e1b464a90808874e895902321a3fd391c04958be6d2db401191b82f413e2aca5d3dfb7c91d145766d531d6eb97ecfc828f015d5456375f2fbe00f34af9
|
|
7
|
+
data.tar.gz: 43ffbe71f4efec20f49c7c0d61ca2a0357e7e4372ce3b5abd19df9a61cdfd159ab8421ae50a9e1bce41c90fd344581cb9db90c27a58d627dc8b141ddeaae2c15
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
- Disabled `Style/MethodCallWithoutArgsParentheses`. `rubyfmt` will handle parens in the vast majority
|
|
6
|
+
of cases, and it occasionally requires calls with parens when local variables shadow method names.
|
|
7
|
+
|
|
3
8
|
## 0.1.1
|
|
4
9
|
|
|
5
10
|
- Disabled `Style/QuotedSymbols`, since `rubyfmt` always double-quotes quoted symbols.
|
data/config/default.yml
CHANGED
|
@@ -104,6 +104,11 @@ Style/PercentLiteralDelimiters:
|
|
|
104
104
|
Style/NestedParenthesizedCalls:
|
|
105
105
|
Enabled: false
|
|
106
106
|
|
|
107
|
+
# A no-arg call gets `()` when a local variable shares its name, so that the call
|
|
108
|
+
# stays a call: `foo = self.foo()`
|
|
109
|
+
Style/MethodCallWithoutArgsParentheses:
|
|
110
|
+
Enabled: false
|
|
111
|
+
|
|
107
112
|
# Statements on the same line as `else` will always be moved
|
|
108
113
|
Lint/ElseLayout:
|
|
109
114
|
Enabled: false
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-rubyfmt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Reese Williams
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
requirements: []
|
|
84
|
-
rubygems_version: 4.0.
|
|
84
|
+
rubygems_version: 4.0.10
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: Rubocop rules for adopting `rubyfmt`
|
|
87
87
|
test_files: []
|