scss_lint 0.40.1 → 0.41.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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/config/default.yml +20 -10
  3. data/data/property-sort-orders/recess.txt +12 -0
  4. data/data/property-sort-orders/smacss.txt +13 -0
  5. data/lib/scss_lint/cli.rb +4 -3
  6. data/lib/scss_lint/control_comment_processor.rb +34 -25
  7. data/lib/scss_lint/linter/border_zero.rb +1 -1
  8. data/lib/scss_lint/linter/disable_linter_reason.rb +39 -0
  9. data/lib/scss_lint/linter/mergeable_selector.rb +3 -1
  10. data/lib/scss_lint/linter/nesting_depth.rb +1 -0
  11. data/lib/scss_lint/linter/selector_depth.rb +1 -1
  12. data/lib/scss_lint/linter/single_line_per_property.rb +1 -1
  13. data/lib/scss_lint/linter/single_line_per_selector.rb +9 -1
  14. data/lib/scss_lint/linter/space_after_variable_name.rb +1 -1
  15. data/lib/scss_lint/linter/space_around_operator.rb +86 -0
  16. data/lib/scss_lint/linter/space_between_parens.rb +96 -20
  17. data/lib/scss_lint/linter/transition_all.rb +30 -0
  18. data/lib/scss_lint/linter/unnecessary_mantissa.rb +1 -0
  19. data/lib/scss_lint/reporter/clean_files_reporter.rb +10 -0
  20. data/lib/scss_lint/reporter.rb +5 -2
  21. data/lib/scss_lint/runner.rb +3 -2
  22. data/lib/scss_lint/sass/script.rb +19 -0
  23. data/lib/scss_lint/version.rb +1 -1
  24. data/spec/scss_lint/linter/bang_format_spec.rb +1 -1
  25. data/spec/scss_lint/linter/disable_linter_reason_spec.rb +63 -0
  26. data/spec/scss_lint/linter/nesting_depth_spec.rb +16 -0
  27. data/spec/scss_lint/linter/single_line_per_selector_spec.rb +23 -0
  28. data/spec/scss_lint/linter/space_after_variable_name_spec.rb +1 -1
  29. data/spec/scss_lint/linter/space_around_operator_spec.rb +240 -0
  30. data/spec/scss_lint/linter/space_between_parens_spec.rb +195 -1
  31. data/spec/scss_lint/linter/transition_all_spec.rb +81 -0
  32. data/spec/scss_lint/linter/unnecessary_mantissa_spec.rb +20 -0
  33. data/spec/scss_lint/linter_spec.rb +21 -0
  34. data/spec/scss_lint/report_lint_spec.rb +268 -0
  35. data/spec/scss_lint/reporter/clean_files_reporter_spec.rb +73 -0
  36. data/spec/scss_lint/reporter/config_reporter_spec.rb +1 -1
  37. data/spec/scss_lint/reporter/default_reporter_spec.rb +1 -1
  38. data/spec/scss_lint/reporter/files_reporter_spec.rb +3 -2
  39. data/spec/scss_lint/reporter/json_reporter_spec.rb +1 -1
  40. data/spec/spec_helper.rb +1 -1
  41. data/spec/support/matchers/report_lint.rb +11 -2
  42. metadata +20 -6
@@ -64,4 +64,24 @@ describe SCSSLint::Linter::UnnecessaryMantissa do
64
64
 
65
65
  it { should_not report_lint }
66
66
  end
67
+
68
+ context 'when a decimal value appears in a single-quoted string' do
69
+ let(:scss) { <<-SCSS }
70
+ p {
71
+ content: '1.0';
72
+ }
73
+ SCSS
74
+
75
+ it { should_not report_lint }
76
+ end
77
+
78
+ context 'when a decimal value appears in a double-quoted string' do
79
+ let(:scss) { <<-SCSS }
80
+ p {
81
+ content: "1.0";
82
+ }
83
+ SCSS
84
+
85
+ it { should_not report_lint }
86
+ end
67
87
  end
@@ -238,11 +238,32 @@ describe SCSSLint::Linter do
238
238
  // scss-lint:disable Fake
239
239
  border: fail2;
240
240
  }
241
+
242
+ p {
243
+ background: red; // [1]
244
+ //scss-lint:disable Fake
245
+ border: fail2;
246
+ }
241
247
  SCSS
242
248
 
243
249
  it { should_not report_lint }
244
250
  end
245
251
 
252
+ context 'when the command comment is below an attached comment and a lint' do
253
+ let(:scss) { <<-SCSS }
254
+ // 1. Some comment about my background
255
+ .foo {
256
+ background: fail1; // [1]
257
+ // scss-lint:disable Fake
258
+ border: fail1
259
+ // scss-lint:enable Fake
260
+ }
261
+ SCSS
262
+
263
+ it { should report_lint line: 3 }
264
+ it { should_not report_lint line: 5 }
265
+ end
266
+
246
267
  context 'when the command comment is at the end of a statement' do
247
268
  let(:scss) { <<-SCSS }
248
269
  p {
@@ -0,0 +1,268 @@
1
+ require 'spec_helper'
2
+ require 'rspec/matchers/fail_matchers'
3
+
4
+ RSpec.configure do |config|
5
+ config.include RSpec::Matchers::FailMatchers
6
+ end
7
+
8
+ RSpec::Matchers.define_negated_matcher :succeed, :raise_error
9
+
10
+ # In these tests, we cover all of the combinations of successful and failed
11
+ # matches, expecting and _not_ expecting lints, specified and unspecified line
12
+ # numbers, specified and unspecified lint counts, and singular and multiple
13
+ # lints.
14
+ describe 'report_lint' do
15
+ let(:subject) { SCSSLint::Linter::LeadingZero.new }
16
+
17
+ def run_with(scss)
18
+ subject.run(SCSSLint::Engine.new(code: scss), SCSSLint::Config.default.linter_options(subject))
19
+ end
20
+
21
+ context 'when expecting no lints' do
22
+ it 'matches zero expected lints' do
23
+ run_with('p { margin: .5em; }')
24
+
25
+ expect do
26
+ should_not report_lint
27
+ end.to succeed
28
+ end
29
+
30
+ it 'fails to match one lint with a meaningful message' do
31
+ run_with('p { margin: 0.5em; }')
32
+
33
+ expect do
34
+ should_not report_lint
35
+ end.to fail_with 'expected that a lint would not be reported'
36
+ end
37
+ end
38
+
39
+ context 'when expecting no lints on a certain line' do
40
+ it 'matches zero expected lints' do
41
+ run_with('p { margin: .5em; }')
42
+
43
+ expect do
44
+ should_not report_lint line: 1
45
+ end.to succeed
46
+ end
47
+
48
+ it 'matches zero expected lints on the specified line' do
49
+ run_with('p { margin: 0.5em; }')
50
+
51
+ expect do
52
+ should_not report_lint line: 10
53
+ end.to succeed
54
+ end
55
+
56
+ it 'fails to match one lint on the specified line with a meaningful message' do
57
+ run_with('p { margin: 0.5em; }')
58
+
59
+ expect do
60
+ should_not report_lint line: 1
61
+ end.to fail_with 'expected that a lint would not be reported'
62
+ end
63
+ end
64
+
65
+ context 'when expecting a lint' do
66
+ it 'matches one expected lint' do
67
+ run_with('p { margin: 0.5em; }')
68
+
69
+ expect do
70
+ should report_lint
71
+ end.to succeed
72
+ end
73
+
74
+ it 'matches multiple lints' do
75
+ run_with('p { margin: 0.5em 0.5em; }')
76
+
77
+ expect do
78
+ should report_lint
79
+ end.to succeed
80
+ end
81
+
82
+ it 'fails to match zero lints with a meaningful message' do
83
+ run_with('p { margin: .5em; }')
84
+
85
+ expect do
86
+ should report_lint
87
+ end.to fail_with 'expected that a lint would be reported'
88
+ end
89
+ end
90
+
91
+ context 'when expecting a lint on a certain line' do
92
+ it 'matches one expected lint' do
93
+ run_with('p { margin: 0.5em; }')
94
+
95
+ expect do
96
+ should report_lint line: 1
97
+ end.to succeed
98
+ end
99
+
100
+ it 'matches multiple lints' do
101
+ run_with('p { margin: 0.5em 0.5em; }')
102
+
103
+ expect do
104
+ should report_lint line: 1
105
+ end.to succeed
106
+ end
107
+
108
+ it 'fails to match zero lints with a meaningful message' do
109
+ run_with('p { margin: .5em; }')
110
+
111
+ expect do
112
+ should report_lint line: 1
113
+ end.to fail_with 'expected that a lint would be reported on line 1'
114
+ end
115
+
116
+ it 'fails to match lints on the wrong line with a meaningful message' do
117
+ run_with('p { margin: 0.5em; }')
118
+
119
+ expect do
120
+ should report_lint line: 10
121
+ end.to fail_with 'expected that a lint would be reported on line 10, ' \
122
+ 'but one lint was reported on line 1'
123
+ end
124
+ end
125
+
126
+ context 'when expecting exactly one lint' do
127
+ it 'matches one expected lint' do
128
+ run_with('p { margin: 0.5em; }')
129
+
130
+ expect do
131
+ should report_lint count: 1
132
+ end.to succeed
133
+ end
134
+
135
+ it 'fails to match zero lints with a meaningful message' do
136
+ run_with('p { margin: .5em; }')
137
+
138
+ expect do
139
+ should report_lint count: 1
140
+ end.to fail_with 'expected that exactly 1 lint would be reported'
141
+ end
142
+
143
+ it 'fails to match multiple lints with a meaningful message' do
144
+ run_with('p { margin: 0.5em 0.5em; }')
145
+
146
+ expect do
147
+ should report_lint count: 1
148
+ end.to fail_with 'expected that exactly 1 lint would be reported, ' \
149
+ 'but lints were reported on lines 1 and 1'
150
+ end
151
+
152
+ it 'fails to match lints on the wrong line with a meaningful message' do
153
+ run_with('p { margin: 0.5em; }')
154
+
155
+ expect do
156
+ should report_lint line: 10, count: 1
157
+ end.to fail_with 'expected that exactly 1 lint would be reported on ' \
158
+ 'line 10, but one lint was reported on line 1'
159
+ end
160
+ end
161
+
162
+ context 'when expecting multiple lints' do
163
+ it 'matches multiple lints' do
164
+ run_with('p { margin: 0.5em 0.5em; }')
165
+
166
+ expect do
167
+ should report_lint count: 2
168
+ end.to succeed
169
+ end
170
+
171
+ it 'fails to match zero lints with a meaningful message' do
172
+ run_with('p { margin: .5em; }')
173
+
174
+ expect do
175
+ should report_lint count: 2
176
+ end.to fail_with 'expected that exactly 2 lints would be reported'
177
+ end
178
+
179
+ it 'fails to match one lint with a meaningful message' do
180
+ run_with('p { margin: .5em; }')
181
+
182
+ expect do
183
+ should report_lint count: 2
184
+ end.to fail_with 'expected that exactly 2 lints would be reported'
185
+ end
186
+
187
+ it 'fails to match lints on the wrong line with a meaningful message' do
188
+ run_with('p { margin: 0.5em 0.5em; }')
189
+
190
+ expect do
191
+ should report_lint line: 10, count: 2
192
+ end.to fail_with 'expected that exactly 2 lints would be reported on ' \
193
+ 'line 10, but lints were reported on lines 1 and 1'
194
+ end
195
+ end
196
+
197
+ context 'when expecting exactly one lint on a certain line' do
198
+ it 'matches one expected lint' do
199
+ run_with('p { margin: 0.5em; }')
200
+
201
+ expect do
202
+ should report_lint line: 1, count: 1
203
+ end.to succeed
204
+ end
205
+
206
+ it 'fails to match zero lints with a meaningful message' do
207
+ run_with('p { margin: .5em; }')
208
+
209
+ expect do
210
+ should report_lint line: 1, count: 1
211
+ end.to fail_with 'expected that exactly 1 lint would be reported on line 1'
212
+ end
213
+
214
+ it 'fails to match multiple lints with a meaningful message' do
215
+ run_with('p { margin: 0.5em 0.5em; }')
216
+
217
+ expect do
218
+ should report_lint line: 1, count: 1
219
+ end.to fail_with 'expected that exactly 1 lint would be reported on ' \
220
+ 'line 1, but lints were reported on lines 1 and 1'
221
+ end
222
+
223
+ it 'fails to match lints on the wrong line with a meaningful message' do
224
+ run_with('p { margin: 0.5em; }')
225
+
226
+ expect do
227
+ should report_lint line: 10, count: 1
228
+ end.to fail_with 'expected that exactly 1 lint would be reported on ' \
229
+ 'line 10, but one lint was reported on line 1'
230
+ end
231
+ end
232
+
233
+ context 'when expecting multiple lints on a certain line' do
234
+ it 'matches one expected lint' do
235
+ run_with('p { margin: 0.5em 0.5em; }')
236
+
237
+ expect do
238
+ should report_lint line: 1, count: 2
239
+ end.to succeed
240
+ end
241
+
242
+ it 'fails to match zero lints with a meaningful message' do
243
+ run_with('p { margin: .5em; }')
244
+
245
+ expect do
246
+ should report_lint line: 1, count: 2
247
+ end.to fail_with 'expected that exactly 2 lints would be reported on line 1'
248
+ end
249
+
250
+ it 'fails to match one lint with a meaningful message' do
251
+ run_with('p { margin: 0.5em; }')
252
+
253
+ expect do
254
+ should report_lint line: 1, count: 2
255
+ end.to fail_with 'expected that exactly 2 lints would be reported on ' \
256
+ 'line 1, but one lint was reported on line 1'
257
+ end
258
+
259
+ it 'fails to match lints on the wrong line with a meaningful message' do
260
+ run_with('p { margin: 0.5em; }')
261
+
262
+ expect do
263
+ should report_lint line: 10, count: 2
264
+ end.to fail_with 'expected that exactly 2 lints would be reported on ' \
265
+ 'line 10, but one lint was reported on line 1'
266
+ end
267
+ end
268
+ end
@@ -0,0 +1,73 @@
1
+ require 'spec_helper'
2
+
3
+ describe SCSSLint::Reporter::CleanFilesReporter do
4
+ subject { described_class.new(lints, files) }
5
+
6
+ describe '#report_lints' do
7
+ context 'when there are no lints and no files' do
8
+ let(:files) { [] }
9
+ let(:lints) { [] }
10
+
11
+ it 'returns nil' do
12
+ subject.report_lints.should be_nil
13
+ end
14
+ end
15
+
16
+ context 'when there are no lints but some files were linted' do
17
+ let(:files) { %w[c.scss b.scss a.scss] }
18
+ let(:lints) { [] }
19
+
20
+ it 'prints each file on its own line' do
21
+ subject.report_lints.count("\n").should == 3
22
+ end
23
+
24
+ it 'prints the files in order' do
25
+ subject.report_lints.split("\n")[0].should eq 'a.scss'
26
+ subject.report_lints.split("\n")[1].should eq 'b.scss'
27
+ subject.report_lints.split("\n")[2].should eq 'c.scss'
28
+ end
29
+
30
+ it 'prints a trailing newline' do
31
+ subject.report_lints[-1].should == "\n"
32
+ end
33
+ end
34
+
35
+ context 'when there are lints in some files' do
36
+ let(:dirty_files) { %w[a.scss b.scss] }
37
+ let(:clean_files) { %w[c.scss d.scss] }
38
+ let(:files) { dirty_files + clean_files }
39
+
40
+ let(:lints) do
41
+ dirty_files.map do |file|
42
+ SCSSLint::Lint.new(nil, file, SCSSLint::Location.new, '')
43
+ end
44
+ end
45
+
46
+ it 'prints the file for each lint' do
47
+ clean_files.each do |file|
48
+ subject.report_lints.scan(/#{file}/).count.should == 1
49
+ end
50
+ end
51
+
52
+ it 'does not print clean files' do
53
+ dirty_files.each do |file|
54
+ subject.report_lints.scan(/#{file}/).count.should == 0
55
+ end
56
+ end
57
+ end
58
+
59
+ context 'when there are lints in every file' do
60
+ let(:files) { %w[a.scss b.scss c.scss d.scss] }
61
+
62
+ let(:lints) do
63
+ files.map do |file|
64
+ SCSSLint::Lint.new(nil, file, SCSSLint::Location.new, '')
65
+ end
66
+ end
67
+
68
+ it 'does not print clean files' do
69
+ subject.report_lints.should be_nil
70
+ end
71
+ end
72
+ end
73
+ end
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  describe SCSSLint::Reporter::ConfigReporter do
4
4
  subject { YAML.load(result) }
5
- let(:result) { described_class.new(lints).report_lints }
5
+ let(:result) { described_class.new(lints, []).report_lints }
6
6
 
7
7
  describe '#report_lints' do
8
8
  context 'when there are no lints' do
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe SCSSLint::Reporter::DefaultReporter do
4
- subject { SCSSLint::Reporter::DefaultReporter.new(lints) }
4
+ subject { SCSSLint::Reporter::DefaultReporter.new(lints, []) }
5
5
 
6
6
  describe '#report_lints' do
7
7
  context 'when there are no lints' do
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe SCSSLint::Reporter::FilesReporter do
4
- subject { described_class.new(lints) }
4
+ subject { described_class.new(lints, []) }
5
5
 
6
6
  describe '#report_lints' do
7
7
  context 'when there are no lints' do
@@ -13,7 +13,8 @@ describe SCSSLint::Reporter::FilesReporter do
13
13
  end
14
14
 
15
15
  context 'when there are lints' do
16
- let(:filenames) { ['some-filename.scss', 'some-filename.scss', 'other-filename.scss'] }
16
+ let(:filenames) { ['some-filename.scss', 'some-filename.scss', 'other-filename.scss'] }
17
+
17
18
  let(:lints) do
18
19
  filenames.map do |filename|
19
20
  SCSSLint::Lint.new(nil, filename, SCSSLint::Location.new, '')
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe SCSSLint::Reporter::JSONReporter do
4
- subject { SCSSLint::Reporter::JSONReporter.new(lints) }
4
+ subject { SCSSLint::Reporter::JSONReporter.new(lints, []) }
5
5
 
6
6
  describe '#report_lints' do
7
7
  let(:json) { JSON.parse(subject.report_lints) }
data/spec/spec_helper.rb CHANGED
@@ -25,7 +25,7 @@ RSpec.configure do |config|
25
25
  # If running a linter spec, run the described linter against the CSS code
26
26
  # for each example. This significantly DRYs up our linter specs to contain
27
27
  # only tests, since all the setup code is now centralized here.
28
- if described_class <= SCSSLint::Linter
28
+ if described_class && described_class <= SCSSLint::Linter
29
29
  initial_indent = scss[/\A(\s*)/, 1]
30
30
  normalized_css = scss.gsub(/^#{initial_indent}/, '')
31
31
 
@@ -8,13 +8,22 @@ RSpec::Matchers.define :report_lint do |options|
8
8
  end
9
9
 
10
10
  failure_message do |linter|
11
- 'expected that a lint would be reported' +
11
+ expected_count =
12
+ if count.nil?
13
+ 'a lint'
14
+ elsif count == 1
15
+ 'exactly 1 lint'
16
+ else
17
+ "exactly #{count} lints"
18
+ end
19
+
20
+ "expected that #{expected_count} would be reported" +
12
21
  (expected_line ? " on line #{expected_line}" : '') +
13
22
  case linter.lints.count
14
23
  when 0
15
24
  ''
16
25
  when 1
17
- ", but was on line #{linter.lints.first.location.line}"
26
+ ", but one lint was reported on line #{linter.lints.first.location.line}"
18
27
  else
19
28
  lines = lint_lines(linter)
20
29
  ", but lints were reported on lines #{lines[0...-1].join(', ')} and #{lines.last}"
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.40.1
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brigade Engineering
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-30 00:00:00.000000000 Z
12
+ date: 2015-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rainbow
@@ -31,28 +31,28 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 3.4.1
34
+ version: 3.4.15
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 3.4.1
41
+ version: 3.4.15
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 3.1.0
48
+ version: 3.3.0
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 3.1.0
55
+ version: 3.3.0
56
56
  description: Configurable tool for writing clean and consistent SCSS
57
57
  email:
58
58
  - eng@brigade.com
@@ -90,6 +90,7 @@ files:
90
90
  - lib/scss_lint/linter/compass/property_with_mixin.rb
91
91
  - lib/scss_lint/linter/debug_statement.rb
92
92
  - lib/scss_lint/linter/declaration_order.rb
93
+ - lib/scss_lint/linter/disable_linter_reason.rb
93
94
  - lib/scss_lint/linter/duplicate_property.rb
94
95
  - lib/scss_lint/linter/else_placement.rb
95
96
  - lib/scss_lint/linter/empty_line_between_blocks.rb
@@ -122,12 +123,14 @@ files:
122
123
  - lib/scss_lint/linter/space_after_property_colon.rb
123
124
  - lib/scss_lint/linter/space_after_property_name.rb
124
125
  - lib/scss_lint/linter/space_after_variable_name.rb
126
+ - lib/scss_lint/linter/space_around_operator.rb
125
127
  - lib/scss_lint/linter/space_before_brace.rb
126
128
  - lib/scss_lint/linter/space_between_parens.rb
127
129
  - lib/scss_lint/linter/string_quotes.rb
128
130
  - lib/scss_lint/linter/trailing_semicolon.rb
129
131
  - lib/scss_lint/linter/trailing_whitespace.rb
130
132
  - lib/scss_lint/linter/trailing_zero.rb
133
+ - lib/scss_lint/linter/transition_all.rb
131
134
  - lib/scss_lint/linter/unnecessary_mantissa.rb
132
135
  - lib/scss_lint/linter/unnecessary_parent_reference.rb
133
136
  - lib/scss_lint/linter/url_format.rb
@@ -143,6 +146,7 @@ files:
143
146
  - lib/scss_lint/plugins/linter_gem.rb
144
147
  - lib/scss_lint/rake_task.rb
145
148
  - lib/scss_lint/reporter.rb
149
+ - lib/scss_lint/reporter/clean_files_reporter.rb
146
150
  - lib/scss_lint/reporter/config_reporter.rb
147
151
  - lib/scss_lint/reporter/default_reporter.rb
148
152
  - lib/scss_lint/reporter/files_reporter.rb
@@ -167,6 +171,7 @@ files:
167
171
  - spec/scss_lint/linter/compass/property_with_mixin_spec.rb
168
172
  - spec/scss_lint/linter/debug_statement_spec.rb
169
173
  - spec/scss_lint/linter/declaration_order_spec.rb
174
+ - spec/scss_lint/linter/disable_linter_reason_spec.rb
170
175
  - spec/scss_lint/linter/duplicate_property_spec.rb
171
176
  - spec/scss_lint/linter/else_placement_spec.rb
172
177
  - spec/scss_lint/linter/empty_line_between_blocks_spec.rb
@@ -199,12 +204,14 @@ files:
199
204
  - spec/scss_lint/linter/space_after_property_colon_spec.rb
200
205
  - spec/scss_lint/linter/space_after_property_name_spec.rb
201
206
  - spec/scss_lint/linter/space_after_variable_name_spec.rb
207
+ - spec/scss_lint/linter/space_around_operator_spec.rb
202
208
  - spec/scss_lint/linter/space_before_brace_spec.rb
203
209
  - spec/scss_lint/linter/space_between_parens_spec.rb
204
210
  - spec/scss_lint/linter/string_quotes_spec.rb
205
211
  - spec/scss_lint/linter/trailing_semicolon_spec.rb
206
212
  - spec/scss_lint/linter/trailing_whitespace_spec.rb
207
213
  - spec/scss_lint/linter/trailing_zero_spec.rb
214
+ - spec/scss_lint/linter/transition_all_spec.rb
208
215
  - spec/scss_lint/linter/unnecessary_mantissa_spec.rb
209
216
  - spec/scss_lint/linter/unnecessary_parent_reference_spec.rb
210
217
  - spec/scss_lint/linter/url_format_spec.rb
@@ -220,6 +227,8 @@ files:
220
227
  - spec/scss_lint/plugins/linter_gem_spec.rb
221
228
  - spec/scss_lint/plugins_spec.rb
222
229
  - spec/scss_lint/rake_task_spec.rb
230
+ - spec/scss_lint/report_lint_spec.rb
231
+ - spec/scss_lint/reporter/clean_files_reporter_spec.rb
223
232
  - spec/scss_lint/reporter/config_reporter_spec.rb
224
233
  - spec/scss_lint/reporter/default_reporter_spec.rb
225
234
  - spec/scss_lint/reporter/files_reporter_spec.rb
@@ -269,6 +278,7 @@ test_files:
269
278
  - spec/scss_lint/linter/compass/property_with_mixin_spec.rb
270
279
  - spec/scss_lint/linter/debug_statement_spec.rb
271
280
  - spec/scss_lint/linter/declaration_order_spec.rb
281
+ - spec/scss_lint/linter/disable_linter_reason_spec.rb
272
282
  - spec/scss_lint/linter/duplicate_property_spec.rb
273
283
  - spec/scss_lint/linter/else_placement_spec.rb
274
284
  - spec/scss_lint/linter/empty_line_between_blocks_spec.rb
@@ -301,12 +311,14 @@ test_files:
301
311
  - spec/scss_lint/linter/space_after_property_colon_spec.rb
302
312
  - spec/scss_lint/linter/space_after_property_name_spec.rb
303
313
  - spec/scss_lint/linter/space_after_variable_name_spec.rb
314
+ - spec/scss_lint/linter/space_around_operator_spec.rb
304
315
  - spec/scss_lint/linter/space_before_brace_spec.rb
305
316
  - spec/scss_lint/linter/space_between_parens_spec.rb
306
317
  - spec/scss_lint/linter/string_quotes_spec.rb
307
318
  - spec/scss_lint/linter/trailing_semicolon_spec.rb
308
319
  - spec/scss_lint/linter/trailing_whitespace_spec.rb
309
320
  - spec/scss_lint/linter/trailing_zero_spec.rb
321
+ - spec/scss_lint/linter/transition_all_spec.rb
310
322
  - spec/scss_lint/linter/unnecessary_mantissa_spec.rb
311
323
  - spec/scss_lint/linter/unnecessary_parent_reference_spec.rb
312
324
  - spec/scss_lint/linter/url_format_spec.rb
@@ -322,6 +334,8 @@ test_files:
322
334
  - spec/scss_lint/plugins/linter_gem_spec.rb
323
335
  - spec/scss_lint/plugins_spec.rb
324
336
  - spec/scss_lint/rake_task_spec.rb
337
+ - spec/scss_lint/report_lint_spec.rb
338
+ - spec/scss_lint/reporter/clean_files_reporter_spec.rb
325
339
  - spec/scss_lint/reporter/config_reporter_spec.rb
326
340
  - spec/scss_lint/reporter/default_reporter_spec.rb
327
341
  - spec/scss_lint/reporter/files_reporter_spec.rb