MNT Replace sass-lint with stylelint (#123)

This commit is contained in:
Sabina Talipova 2024-05-01 17:01:17 +12:00 committed by GitHub
parent e5196e1c1d
commit d1bf460e97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

1
.stylelintrc.js Normal file
View File

@ -0,0 +1 @@
module.exports = require('@silverstripe/eslint-config/.stylelintrc');

View File

@ -9,12 +9,12 @@
"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/js && sass-lint client/src/styles"
"lint": "eslint client/src/js && stylelint client/src/styles"
},
"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"
},