Merge branch '3' into 4

This commit is contained in:
Steve Boyd 2024-05-01 17:40:51 +12:00
commit 320c3cde35
3 changed files with 5 additions and 3 deletions

1
.stylelintignore Normal file
View File

@ -0,0 +1 @@
client/src/**/*.js

1
.stylelintrc.js Normal file
View File

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

View File

@ -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",
@ -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"
},