Skip to content

Commit

Permalink
Merge pull request #217 from creative-commoners/pulls/3.1/stylelint
Browse files Browse the repository at this point in the history
MNT Replace sass-lint with stylelint
  • Loading branch information
GuySartorelli authored Apr 28, 2024
2 parents 6a04066 + d776cc9 commit 5ec2993
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 182 deletions.
178 changes: 0 additions & 178 deletions .sass-lint.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
client/src/styles/legacy/*
admin/client/src/styles/legacy/*
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');
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"watch": "NODE_ENV=development webpack --watch --progress",
"css": "WEBPACK_CHILD=css npm run build",
"lock": "npm-shrinkwrap --dev",
"lint": "eslint client/src && sass-lint client/src",
"lint": "eslint client/src && yarn lint-sass",
"lint-js": "eslint client/src",
"lint-js-fix": "eslint client/src --fix",
"lint-sass": "sass-lint client/src"
"lint-sass": "stylelint **/client/src/**/*.scss"
},
"dependencies": {
"classnames": "^2.3.2",
Expand All @@ -34,8 +34,8 @@
"reactstrap": "^8.9.0"
},
"devDependencies": {
"@silverstripe/eslint-config": "^1.1.0",
"@silverstripe/webpack-config": "^2.0.0",
"@silverstripe/eslint-config": "^1.2.1",
"@silverstripe/webpack-config": "^2.1.0",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.0"
},
Expand Down

0 comments on commit 5ec2993

Please sign in to comment.