96746d7165
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
15 lines
359 B
JavaScript
15 lines
359 B
JavaScript
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
|
|
},
|
|
}
|