mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MNT Replace sass-lint with stylelint (#566)
This commit is contained in:
parent
0fe63e92bd
commit
33fba84537
1
.stylelintignore
Normal file
1
.stylelintignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
client/src/**/*.js
|
1
.stylelintrc.js
Normal file
1
.stylelintrc.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
module.exports = require('@silverstripe/eslint-config/.stylelintrc');
|
@ -4,7 +4,7 @@
|
|||||||
"build": "yarn && yarn lint && rm -rf client/dist/* && NODE_ENV=production webpack --mode production --bail --progress",
|
"build": "yarn && yarn lint && rm -rf client/dist/* && NODE_ENV=production webpack --mode production --bail --progress",
|
||||||
"dev": "NODE_ENV=development webpack --progress",
|
"dev": "NODE_ENV=development webpack --progress",
|
||||||
"watch": "NODE_ENV=development webpack --watch --progress",
|
"watch": "NODE_ENV=development webpack --watch --progress",
|
||||||
"lint": "eslint client/src && sass-lint client/src"
|
"lint": "eslint client/src && stylelint client/src"
|
||||||
},
|
},
|
||||||
"author": "SilverStripe Ltd",
|
"author": "SilverStripe Ltd",
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
@ -18,8 +18,8 @@
|
|||||||
"homepage": "https://github.com/silverstripe/silverstripe-subsites#readme",
|
"homepage": "https://github.com/silverstripe/silverstripe-subsites#readme",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@silverstripe/eslint-config": "^1.1.0",
|
"@silverstripe/eslint-config": "^1.2.1",
|
||||||
"@silverstripe/webpack-config": "^2.0.0",
|
"@silverstripe/webpack-config": "^2.1.0",
|
||||||
"webpack": "^5.74.0",
|
"webpack": "^5.74.0",
|
||||||
"webpack-cli": "^5.0.0"
|
"webpack-cli": "^5.0.0"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user