Skip to content

Commit

Permalink
MNT Replace sass-lint with stylelint (#175)
Browse files Browse the repository at this point in the history
* MNT Replace sass-lint with stylelint

* FIX
  • Loading branch information
sabina-talipova authored May 1, 2024
1 parent ead6822 commit 06853ee
Show file tree
Hide file tree
Showing 4 changed files with 394 additions and 813 deletions.
4 changes: 4 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
client/src/**/*.js
client/src/**/*.svg
client/src/**/**/*.js
client/src/**/**/*.svg
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');
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"test": "jest",
"coverage": "jest --coverage",
"lock": "npm-shrinkwrap --dev",
"lint": "eslint client/src && sass-lint client/src",
"lint": "eslint client/src && yarn lint-sass",
"lint-js": "eslint client/src",
"lint-js-fix": "eslint client/src --fix",
"lint-sass": "sass-lint client/src"
"lint-sass": "stylelint client/src"
},
"dependencies": {
"classnames": "^2.3.2",
Expand All @@ -25,8 +25,8 @@
"react-dom": "18.2.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",
"@testing-library/react": "^14.0.0",
"babel-jest": "^29.2.2",
"copy-webpack-plugin": "^11.0.0",
Expand Down
Loading

0 comments on commit 06853ee

Please sign in to comment.