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 May 1, 2024
1 parent 0fe63e9 commit 7babd31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
client/src/**/*.js
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 @@ -4,7 +4,7 @@
"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"
},
"author": "SilverStripe Ltd",
"license": "BSD-2-Clause",
Expand All @@ -18,8 +18,8 @@
"homepage": "https://github.com/silverstripe/silverstripe-subsites#readme",
"dependencies": {},
"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 7babd31

Please sign in to comment.