Skip to content

Commit

Permalink
MNT Replace lint-sass with stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jun 11, 2024
1 parent 216773e commit ac9cb62
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 26 deletions.
1 change: 1 addition & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@silverstripe/eslint-config/.stylelintrc');
2 changes: 1 addition & 1 deletion client/dist/styles/multivaluefield.css

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

6 changes: 3 additions & 3 deletions client/src/styles/multivaluefield.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ul.multivaluefieldlist {
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;
}

.multivaluefieldlist > li {
Expand All @@ -9,7 +9,7 @@ ul.multivaluefieldlist {
list-style-type: none;
}

.multivaluefieldlist > li::after {
.multivaluefieldlist > li:after {
content: '';
cursor: pointer;
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"build": "yarn && yarn lint && rm -rf client/dist/* && NODE_ENV=production webpack --mode production --bail --progress",
"dev": "NODE_ENV=development webpack --progress",
"watch": "NODE_ENV=development webpack --watch --progress",
"lint": "eslint client/src && sass-lint client/src"
"lint": "eslint client/src && stylelint client/src"
},
"dependencies": {},
"devDependencies": {
"@silverstripe/eslint-config": "^1.1.0",
"@silverstripe/eslint-config": "^1.3.0",
"@silverstripe/webpack-config": "^2.0.0",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.0"
Expand Down
Loading

0 comments on commit ac9cb62

Please sign in to comment.