diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 0000000..8688292 --- /dev/null +++ b/.stylelintignore @@ -0,0 +1 @@ +client/src/**/*.js diff --git a/.stylelintrc.js b/.stylelintrc.js new file mode 100644 index 0000000..ef7353b --- /dev/null +++ b/.stylelintrc.js @@ -0,0 +1 @@ +module.exports = require('@silverstripe/eslint-config/.stylelintrc'); diff --git a/package.json b/package.json index a7ad207..707f0b5 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,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 && sass-lint client/src" + "lint": "eslint client/src && stylelint client/src" }, "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" },