File tree 7 files changed +442
-35
lines changed
7 files changed +442
-35
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ plugins:
31
31
rubocop :
32
32
enabled : true
33
33
channel : rubocop-0-71
34
- scss -lint :
34
+ sass -lint :
35
35
enabled : true
36
36
exclude_patterns :
37
37
- spec/
Original file line number Diff line number Diff line change 1
1
# Linter Documentation:
2
- # https://github.com/brigade/scss -lint/blob/v0.42.2/lib/scss_lint/linter/README.md
2
+ # https://github.com/sasstools/sass -lint/tree/v1.13.1/docs/options
3
3
4
- scss_files : ' app/javascript/styles/**/*.scss '
5
-
6
- exclude :
7
- - app/javascript/styles/reset.scss
4
+ files :
5
+ include : app/javascript/styles/**/*.scss
6
+ ignore :
7
+ - app/javascript/styles/reset.scss
8
8
9
9
linters :
10
10
# Reports when you use improper spacing around ! (the "bang") in !default,
Original file line number Diff line number Diff line change @@ -43,4 +43,4 @@ Gruntfile.js
43
43
44
44
# for specific ignore
45
45
!.svgo.yml
46
-
46
+ !sass-lint/**/*.yml
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ group :development do
132
132
gem 'rubocop-rails' , '~> 2.0' , require : false
133
133
gem 'brakeman' , '~> 4.5' , require : false
134
134
gem 'bundler-audit' , '~> 0.6' , require : false
135
- gem 'scss_lint' , '~> 0.58' , require : false
136
135
137
136
gem 'capistrano' , '~> 3.11'
138
137
gem 'capistrano-rails' , '~> 1.4'
Original file line number Diff line number Diff line change 470
470
thor (>= 0.19.0 , < 2.0 )
471
471
rainbow (3.0.0 )
472
472
rake (12.3.2 )
473
- rb-fsevent (0.10.3 )
474
- rb-inotify (0.10.0 )
475
- ffi (~> 1.0 )
476
473
rdf (3.0.9 )
477
474
hamster (~> 3.0 )
478
475
link_header (~> 0.0 , >= 0.0.8 )
547
544
crass (~> 1.0.2 )
548
545
nokogiri (>= 1.8.0 )
549
546
nokogumbo (~> 2.0 )
550
- sass (3.7.4 )
551
- sass-listen (~> 4.0.0 )
552
- sass-listen (4.0.0 )
553
- rb-fsevent (~> 0.9 , >= 0.9.4 )
554
- rb-inotify (~> 0.9 , >= 0.9.7 )
555
- scss_lint (0.58.0 )
556
- rake (>= 0.9 , < 13 )
557
- sass (~> 3.5 , >= 3.5.5 )
558
547
sidekiq (5.2.7 )
559
548
connection_pool (~> 2.2 , >= 2.2.2 )
560
549
rack (>= 1.5.0 )
@@ -751,7 +740,6 @@ DEPENDENCIES
751
740
rubocop (~> 0.71 )
752
741
rubocop-rails (~> 2.0 )
753
742
sanitize (~> 5.0 )
754
- scss_lint (~> 0.58 )
755
743
sidekiq (~> 5.2 )
756
744
sidekiq-bulk (~> 0.2.0 )
757
745
sidekiq-scheduler (~> 3.0 )
Original file line number Diff line number Diff line change 12
12
"start" : " node ./streaming/index.js" ,
13
13
"test" : " ${npm_execpath} run test:lint && ${npm_execpath} run test:jest" ,
14
14
"test:lint" : " eslint --ext=js ." ,
15
+ "test:lint:sass" : " sass-lint ." ,
15
16
"test:jest" : " cross-env NODE_ENV=test jest --coverage"
16
17
},
17
18
"repository" : {
177
178
"raf" : " ^3.4.1" ,
178
179
"react-intl-translations-manager" : " ^5.0.3" ,
179
180
"react-test-renderer" : " ^16.8.6" ,
181
+ "sass-lint" : " ^1.13.1" ,
180
182
"webpack-dev-server" : " ^3.5.1" ,
181
183
"yargs" : " ^12.0.5"
182
184
}
You can’t perform that action at this time.
0 commit comments