mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
ebd1a0b7bf
* deps: change web build-dep from node-sass to sass https://sass-lang.com/blog/libsass-is-deprecated and dart sass is the recommended replacement. * deps: yarn upgrade-interactive * deps: update babel dep to 7.17 * deps: update eslint * deps: update prettier * deps: update svgo * deps: update webpack to 5.72.1 * deps: update webpack-bundle-analyzer to 4.5.0 * deps: update webpack-cli to 4.9.2 * deps: update webpack-dev-server from 3.11.3 to 4.9.0 * deps: replace svgo, svgo-loader, url-loader with webpack asset/inline * chore: rename "style" dir as "assets" * deps: update stylelint from 13.13.1 to 14.8.2 * deps: bump terser-webpack-plugin from 5.1.4 to 5.3.1 * deps: bump css-loader from 5.2.7 to 6.7.1 * deps: bump css-minimizer-webpack-plugin from 3.0.2 to 3.4.1 * deps: bump mini-css-extract-plugin from 1.6.2 to 2.6.0
48 lines
1.4 KiB
JavaScript
48 lines
1.4 KiB
JavaScript
|
|
module.exports = {
|
|
"extends": [
|
|
"stylelint-config-sass-guidelines",
|
|
"stylelint-config-prettier"
|
|
],
|
|
"plugins": [
|
|
"@primer/stylelint-config/plugins/no-undefined-vars",
|
|
"@primer/stylelint-config/plugins/no-unused-vars"
|
|
],
|
|
"rules": {
|
|
"block-no-empty": true,
|
|
"color-no-invalid-hex": true,
|
|
"comment-no-empty": true,
|
|
"declaration-block-no-duplicate-properties": true,
|
|
"declaration-block-no-shorthand-property-overrides": true,
|
|
"font-family-no-duplicate-names": true,
|
|
"function-calc-no-unspaced-operator": true,
|
|
"function-linear-gradient-no-nonstandard-direction": true,
|
|
"max-nesting-depth": null,
|
|
"media-feature-name-no-unknown": true,
|
|
"no-duplicate-at-import-rules": true,
|
|
"no-duplicate-selectors": null,
|
|
"no-empty-source": true,
|
|
"no-extra-semicolons": true,
|
|
"no-invalid-double-slash-comments": true,
|
|
"primer/no-undefined-vars": true,
|
|
"primer/no-unused-vars": true,
|
|
"property-no-unknown": true,
|
|
"scss/at-rule-no-unknown": true,
|
|
"selector-attribute-quotes": null,
|
|
"selector-max-compound-selectors": null,
|
|
"selector-max-id": null,
|
|
"selector-no-qualifying-type": [
|
|
true,
|
|
{
|
|
"ignore": [
|
|
"attribute"
|
|
]
|
|
}
|
|
],
|
|
"selector-pseudo-class-no-unknown": true,
|
|
"selector-pseudo-element-no-unknown": true,
|
|
"selector-type-no-unknown": true,
|
|
"string-no-newline": true,
|
|
"unit-no-unknown": true,
|
|
}
|
|
};
|