We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abf10a commit 6e035acCopy full SHA for 6e035ac
.rubocop.yml
@@ -65,3 +65,6 @@ Naming/PredicateMethod:
65
Lint/HashCompareByIdentity:
66
Exclude:
67
- lib/minicss/sel.rb
68
+
69
+Layout/FirstHashElementIndentation:
70
+ EnforcedStyle: consistent
lib/minicss/sel.rb
@@ -21,11 +21,11 @@ module Sel
21
}.freeze
22
23
ARGUMENT_PATTERNS = {
24
- :pseudo_element => Regexp.new(
+ pseudo_element: Regexp.new(
25
TOKENS[:pseudo_element].source.sub("(?<argument>¶*)", "(?<argument>.*)"),
26
TOKENS[:pseudo_element].options
27
),
28
- :pseudo_class => Regexp.new(
+ pseudo_class: Regexp.new(
29
TOKENS[:pseudo_class].source.sub("(?<argument>¶*)", "(?<argument>.*)"),
30
TOKENS[:pseudo_class].options
31
)
0 commit comments