scss-lint 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scss_lint/linter/space_before_brace.rb +2 -2
- data/lib/scss_lint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7779105451a72b8ded97f566e807c7e67df917be
|
4
|
+
data.tar.gz: 8cb67575f1fbd48fd30281fb94a43a44230141fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c441e136f5f31a91e68169449dfddbb81cb0c9fbfc9fe045f9fef1f0ed73aa9956f00c31a381a47723dd61b5dd2b8e1fb678dfde645303ae98eda180b533247
|
7
|
+
data.tar.gz: 1eae8a1dc4ba5e25e4131253795510afe0e271ed1625bb72af0f80548e400747463897b5d7a5db50c2dec6ded6f8b087df0369a069bee3db032d3f3cc09cf43c
|
@@ -5,14 +5,14 @@ module SCSSLint
|
|
5
5
|
|
6
6
|
def visit_root(node)
|
7
7
|
engine.lines.each_with_index do |line, index|
|
8
|
-
line.scan /(?<![^ ] )\{
|
8
|
+
line.scan /[^"](?<![^ ] )\{/ do |match|
|
9
9
|
@lints << Lint.new(engine.filename, index + 1, description)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
def description
|
15
|
-
'Opening curly braces ({)
|
15
|
+
'Opening curly braces ({) should be preceded by one space'
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
data/lib/scss_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scss-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Causes Engineering
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|