Skip to content

Commit

Permalink
Fix some StyleLint warning that snuck in during monthly Dependabot up…
Browse files Browse the repository at this point in the history
…grades
  • Loading branch information
gregorbg committed Jun 26, 2022
1 parent dc6445e commit f9a82b5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions WcaOnRails/app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@

@import "bootstrap-datetimepicker";
@import "selectize";
/* stylelint-disable scss/at-import-partial-extension */
@import "selectize.bootstrap3";
@import "jquery.jcrop";
/* stylelint-enable scss/at-import-partial-extension */
@import "bootstrap-table-parts";
@import "slick";
@import "slick-theme";
Expand Down
2 changes: 1 addition & 1 deletion WcaOnRails/app/assets/stylesheets/competitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ $venue-map-wrapper-height: 400px;
left: 0;
right: 0;
z-index: 10;
background-color: transparentize(white, 0.5);
background-color: transparentize(white, 0.5); /* stylelint-disable-line scss/no-global-function-names */
.spinner-wrapper {
position: absolute;
top: 50%;
Expand Down
2 changes: 1 addition & 1 deletion WcaOnRails/app/assets/stylesheets/fullcalendar_wca.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import "fullcalendar.min";
@import "fullcalendar.min"; /* stylelint-disable-line scss/at-import-partial-extension */
2 changes: 1 addition & 1 deletion WcaOnRails/app/assets/stylesheets/pdf.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ a {

// We need the import here, otherwise Rails' asset adds a BOM at the beginning of it,
// and the font doesn't get recognize!
@import "cubing-icons";
@import "cubing-icons"; /* stylelint-disable-line no-invalid-position-at-import-rule */

header {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "variables.scss";
@import "variables";

.competition-results {
.events-list {
Expand Down
3 changes: 2 additions & 1 deletion stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
rules: {
"no-descending-specificity": null,
"block-no-empty": null,
"font-family-no-missing-generic-family-keyword": null
"font-family-no-missing-generic-family-keyword": null,
"scss/at-extend-no-missing-placeholder": null
},
ignoreFiles: ["WcaOnRails/app/assets/stylesheets/selectize.default.css"]
};

0 comments on commit f9a82b5

Please sign in to comment.