Skip to content

Commit

Permalink
Appease stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinkelly committed Sep 1, 2024
1 parent 7dea3bf commit a72513c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions variants/frontend-bootstrap/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
<<~EO_CONTENT
// We use @import because Bootstrap will not support @use until v6. See
// https://github.com/twbs/bootstrap/issues/30025#issuecomment-574825600
// Our own SCSS files should use @use.
@import "../stylesheets/customized_bootstrap";
// https://github.com/twbs/bootstrap/issues/30025#issuecomment-574825600 Our own
// SCSS files should use @use. Webpack requires that all `@use` be first in a
// file which conflicts with the stylelint no-invalid-position-at-import-rule`
// rule so we disable it for this line.
@import "../stylesheets/customized_bootstrap"; // stylelint-disable-line no-invalid-position-at-import-rule -- See above
EO_CONTENT
end

Expand Down

0 comments on commit a72513c

Please sign in to comment.