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 eefccd0..ab59fae 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "lock": "npm-shrinkwrap --dev", "test": "NODE_PATH=\"./client/src\" jest", "coverage": "NODE_PATH=\"./client/src\" jest --coverage", - "lint": "eslint client/src && sass-lint -v client/src" + "lint": "eslint client/src && stylelint css/*" }, "jest": { "scriptPreprocessor": "/node_modules/babel-jest", @@ -51,8 +51,8 @@ "url": "^0.11.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", "babel-jest": "^20.0.3", "jest-cli": "^19.0.2", "webpack": "^5.76.0",