diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-06-28 10:04:03 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-06-28 10:04:03 +0000 |
| commit | c847bce7ea1636080e49bc6a74c7366fcf80969d (patch) | |
| tree | a924e61d099c1c42b1852956a5ac5c41c4cbc6bb /package.json | |
| parent | f4a9db3e58ec774042c702b3d5f5b07143c04510 (diff) | |
add css linting for css, less and scss, re #606
Merge request studip/studip!724
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package.json b/package.json index 29abb53..1d7aca2 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "private": true, "scripts": { "lint": "eslint resources/assets/javascripts resources/vue", + "css-lint": "stylelint resources/assets/stylesheets", "wds": "webpack serve --progress --config webpack.dev-server.js", "webpack-dev": "webpack --config webpack.dev.js --mode development", "webpack-prod": "webpack --config webpack.prod.js --mode production", @@ -48,6 +49,7 @@ "easygettext": "^2.17.0", "es6-promise": "4.2.8", "eslint": "^7.32.0", + "eslint-junit": "^1.0.1", "eslint-plugin-vue": "7.7.0", "eslint-webpack-plugin": "^3.1.1", "expose-loader": "1.0.1", @@ -74,7 +76,9 @@ "pdfjs-dist": "^2.6.347", "portal-vue": "^2.1.7", "postcss": "^8.1.8", + "postcss-less": "^6.0.0", "postcss-loader": "4.1.0", + "postcss-scss": "^4.0.4", "sanitize-html": "^2.7.0", "sass": "^1.29.0", "sass-loader": "^10.1.0", @@ -83,6 +87,9 @@ "sticky-kit": "1.1.3", "stream-browserify": "^3.0.0", "style-loader": "^2.0.0", + "stylelint": "^14.9.1", + "stylelint-config-standard": "^26.0.0", + "stylelint-junit-formatter": "^0.2.2", "svgo": "^2.3.1", "tablesorter": "2.31.3", "vrp-vue-resizable": "1.2.7", @@ -122,5 +129,8 @@ "printWidth": 120, "singleQuote": true, "tabWidth": 4 + }, + "eslint-junit": { + "output": "./.reports/eslint-report.xml" } } |
