Skip to content

Commit

Permalink
Merge pull request silverstripe#299 from creative-commoners/pulls/2.2…
Browse files Browse the repository at this point in the history
…/stylelint

MNT Replace sass-lint with stylelint
  • Loading branch information
GuySartorelli authored Apr 28, 2024
2 parents 8b409ba + d8e3e2e commit 18a407f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 181 deletions.
178 changes: 0 additions & 178 deletions .sass-lint.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
client/src/styles/legacy/*
src/**/*
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');
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"css": "yarn && WEBPACK_CHILD=css webpack -p --bail --progress",
"test": "jest",
"coverage": "jest --coverage",
"lint": "eslint client/src && sass-lint -v client/src"
"lint": "eslint client/src && stylelint **/client/src/**/*.scss"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -49,8 +49,8 @@
"redux-thunk": "^2.4.2"
},
"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-core": "^6.26.3",
"babel-jest": "^29.3.0",
Expand Down

0 comments on commit 18a407f

Please sign in to comment.