mirror of
https://github.com/transmission/transmission.git
synced 2026-04-02 00:27:38 +01:00
* chore: bump esbuild@0.27
* chore: bump eslint-plugin-unicorn@63
* chore: bump globals@17
* chore: bump stylelint@17
* chore: pin eslint-plugin-sonarjs@3.0.5
https://github.com/SonarSource/SonarJS/pull/6148 added a dependency that's not declared in the package.json. And of course it's AI slop.
* chore: re-generate package-lock.json
* fix: lint errors
* ci: temporarily enable arm64 NetBSD runner
* Revert "ci: temporarily enable arm64 NetBSD runner"
This reverts commit 39c9be3978.
36 lines
1.4 KiB
JavaScript
36 lines
1.4 KiB
JavaScript
/** @type {import('stylelint').Config} */
|
|
export default {
|
|
extends: ['stylelint-config-sass-guidelines'],
|
|
rules: {
|
|
'@stylistic/function-parentheses-space-inside': 'never-single-line',
|
|
'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-invalid-double-slash-comments': true,
|
|
'no-unknown-custom-properties': true,
|
|
// TODO: add back rule for unused variables?
|
|
'property-no-unknown': true,
|
|
'property-no-vendor-prefix': null,
|
|
'scss/at-rule-no-unknown': true,
|
|
'selector-attribute-quotes': null,
|
|
'selector-max-compound-selectors': null,
|
|
'selector-max-id': null,
|
|
'selector-no-qualifying-type': null, // "This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less."
|
|
'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,
|
|
},
|
|
};
|