Skip to content

Commit

Permalink
MNT Fix scss lint warnings (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jun 11, 2024
1 parent b429efb commit 13e7f1c
Show file tree
Hide file tree
Showing 5 changed files with 428 additions and 845 deletions.
2 changes: 0 additions & 2 deletions .stylelintignore

This file was deleted.

2 changes: 1 addition & 1 deletion client/dist/styles/userforms-cms.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client/src/styles/userforms-cms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
border-bottom: 1px solid $border-color-light;
padding: 1rem;

& button.action {
button.action {
margin-bottom: 0;
}

Expand Down Expand Up @@ -197,7 +197,7 @@
align-items: center;

.icon {
&::before {
&:before {
font-size: 16px;
line-height: inherit;
margin-right: 6px;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "yarn lint-js && yarn lint-sass",
"lint-js": "eslint client/src",
"lint-js-fix": "eslint client/src --fix",
"lint-sass": "stylelint **/client/src/**/*.scss"
"lint-sass": "stylelint client/src"
},
"repository": {
"type": "git",
Expand All @@ -37,7 +37,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@silverstripe/eslint-config": "^1.2.1",
"@silverstripe/eslint-config": "^1.3.0",
"@silverstripe/webpack-config": "^2.1.0",
"copy-webpack-plugin": "^11.0.0",
"webpack": "^5.74.0",
Expand Down
Loading

0 comments on commit 13e7f1c

Please sign in to comment.