Skip to content

Commit

Permalink
Merge pull request #141 from creative-commoners/pulls/3.2/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 5e979d8 + e40ac0b commit 5df6de0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 182 deletions.
179 changes: 0 additions & 179 deletions .sass-lint.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
client/src/styles/legacy/*
admin/client/src/styles/legacy/*
vendor/**
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 @@ -7,7 +7,7 @@
"watch": "yarn && NODE_ENV=development webpack --watch --progress",
"css": "WEBPACK_CHILD=css npm run build",
"test": "jest",
"lint": "eslint client/src; sass-lint -v",
"lint": "eslint client/src; stylelint **/client/src/**/*.scss",
"lint-js-fix": "eslint client/src --fix"
},
"repository": {
Expand Down Expand Up @@ -36,8 +36,8 @@
"reactstrap": "^8.9.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",
"core-js": "^3.26.0",
Expand Down

0 comments on commit 5df6de0

Please sign in to comment.