From 96746d7165f28553b53bd259d03aaf5d63290b7a Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 22 Sep 2020 17:49:49 +0200 Subject: Upgrade front end dependencies Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones. - Upgrade webpack from 3.x to 4.x - Moved babel package to main repo - Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin - Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin - Replaced deprecated node-sass with (dart) sass package - Replaced deprecated sass-lint with stylelint (the rules might be a bit different Related to #1531: trivy doesn't raise any more issue --- .dev/.stylelintrc.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .dev/.stylelintrc.js (limited to '.dev/.stylelintrc.js') diff --git a/.dev/.stylelintrc.js b/.dev/.stylelintrc.js new file mode 100644 index 00000000..a754e33b --- /dev/null +++ b/.dev/.stylelintrc.js @@ -0,0 +1,15 @@ +module.exports = { + extends: 'stylelint-config-standard', + plugins: [ + "stylelint-scss" + ], + rules: { + "indentation": [2], + "number-leading-zero": null, + // Replace CSS @ with SASS ones + "at-rule-no-unknown": null, + "scss/at-rule-no-unknown": true, + // not compatible with SASS apparently + "no-descending-specificity": null + }, +} -- cgit v1.2.3