Skip to content

Commit

Permalink
Merge pull request #277 from creative-commoners/pulls/4/stylelint
Browse files Browse the repository at this point in the history
MNT Replace sass-lint with stylelint
  • Loading branch information
GuySartorelli authored Apr 28, 2024
2 parents b713978 + 4706377 commit 7983a29
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/*
admin/client/src/styles/legacy/*
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 @@ -25,7 +25,7 @@
"lint": "yarn lint-js && 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/**/*.scss"
},
"jest": {
"testEnvironment": "jsdom",
Expand All @@ -48,8 +48,8 @@
},
"devDependencies": {
"@babel/runtime": "^7.20.0",
"@silverstripe/eslint-config": "^1.0.0",
"@silverstripe/webpack-config": "^2.0.0",
"@silverstripe/eslint-config": "^1.2.1",
"@silverstripe/webpack-config": "^2.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.2",
Expand Down

0 comments on commit 7983a29

Please sign in to comment.