Skip to content

Commit

Permalink
MNT Replace sass-lint with stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Apr 23, 2024
1 parent 83b06a6 commit 6f3be4e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 182 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');
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 --verbose client/src/**/*.scss",
"lint": "eslint client/src && lint-sass",
"lint-js": "eslint client/src",
"lint-js-fix": "eslint client/src --fix",
"lint-sass": "sass-lint --verbose client/src/**/*.scss"
"lint-sass": "stylelint **/client/src/**/*.scss"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,8 +51,8 @@
"reselect": "^4.1.7"
},
"devDependencies": {
"@silverstripe/eslint-config": "^1.1.0",
"@silverstripe/webpack-config": "^2.0.0",
"@silverstripe/eslint-config": "^1.1.1",
"@silverstripe/webpack-config": "^2.0.3",
"@testing-library/react": "^14.0.0",
"babel-jest": "^29.2.2",
"jest-cli": "^29.2.2",
Expand Down

0 comments on commit 6f3be4e

Please sign in to comment.