mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MNT Replace sass-lint with stylelint (#173)
This commit is contained in:
parent
3791f911ac
commit
73f7a0daf8
1
.stylelintrc.js
Normal file
1
.stylelintrc.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
module.exports = require('@silverstripe/eslint-config/.stylelintrc');
|
@ -22,7 +22,7 @@
|
|||||||
"lock": "npm-shrinkwrap --dev",
|
"lock": "npm-shrinkwrap --dev",
|
||||||
"test": "NODE_PATH=\"./client/src\" jest",
|
"test": "NODE_PATH=\"./client/src\" jest",
|
||||||
"coverage": "NODE_PATH=\"./client/src\" jest --coverage",
|
"coverage": "NODE_PATH=\"./client/src\" jest --coverage",
|
||||||
"lint": "eslint client/src && sass-lint -v client/src"
|
"lint": "eslint client/src && stylelint css/*"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
|
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
|
||||||
@ -51,8 +51,8 @@
|
|||||||
"url": "^0.11.0"
|
"url": "^0.11.0"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
"babel-jest": "^20.0.3",
|
"babel-jest": "^20.0.3",
|
||||||
"jest-cli": "^19.0.2",
|
"jest-cli": "^19.0.2",
|
||||||
"webpack": "^5.76.0",
|
"webpack": "^5.76.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user