Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Replace lint-sass with stylelint #113

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading