aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-15 17:02:24 +0000
committertusooa <tusooa@kazv.moe>2023-01-15 17:02:24 +0000
commitdc897a5fef9ed10e23bee9b36ee719c31996f7a5 (patch)
tree1dad722edc84b5ba1759a13e1944167c5ffcf7c3 /package.json
parent4d2056d8aaa8f2c20a3275503857d38ac9112e5f (diff)
parentd2ba67d565ba68acc1938dc9ae2c866a6e39d4d6 (diff)
Merge branch 'tusooa/stylelint' into 'develop'
Use stylelint Closes #1173 and #857 See merge request pleroma/pleroma-fe!1752
Diffstat (limited to 'package.json')
-rw-r--r--package.json12
1 files changed, 9 insertions, 3 deletions
diff --git a/package.json b/package.json
index dca6eead..8658af93 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"unit:watch": "karma start test/unit/karma.conf.js --single-run=false",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
- "stylelint": "npx stylelint src/components/status/status.scss",
+ "stylelint": "npx stylelint '**/*.scss' '**/*.vue'",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
"lint-fix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs"
},
@@ -103,7 +103,9 @@
"opn": "5.5.0",
"ora": "0.4.1",
"postcss": "8.4.20",
+ "postcss-html": "^1.5.0",
"postcss-loader": "7.0.2",
+ "postcss-scss": "^4.0.6",
"sass": "1.57.1",
"sass-loader": "13.2.0",
"selenium-server": "2.53.1",
@@ -112,9 +114,13 @@
"shelljs": "0.8.5",
"sinon": "15.0.1",
"sinon-chai": "3.7.0",
- "stylelint": "13.13.1",
- "stylelint-config-standard": "20.0.0",
+ "stylelint": "14.16.1",
+ "stylelint-config-html": "^1.1.0",
+ "stylelint-config-recommended-scss": "^8.0.0",
+ "stylelint-config-recommended-vue": "^1.4.0",
+ "stylelint-config-standard": "29.0.0",
"stylelint-rscss": "0.4.0",
+ "stylelint-webpack-plugin": "^3.3.0",
"vue-loader": "17.0.1",
"vue-style-loader": "4.1.3",
"webpack": "5.75.0",