Skip to content

Commit

Permalink
MNT Replace sass-lint with stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Apr 26, 2024
1 parent 1eb0c5f commit 03ee382
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 182 deletions.
179 changes: 0 additions & 179 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/*
src/**/*
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');
6 changes: 3 additions & 3 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": "sass-lint client/src"
"lint-sass": "stylelint **/client/src/**/*.scss"
},
"repository": {
"type": "git",
Expand All @@ -37,8 +37,8 @@
"react-dom": "^18.2.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",
"copy-webpack-plugin": "^11.0.0",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.0"
Expand Down

0 comments on commit 03ee382

Please sign in to comment.