Commit graph

30 commits

Author SHA1 Message Date
Marius Vollmer
07574fbc17 build: Update stylelint to 17
This requires the following changes:

- Remove disabling of
  scss/at-import-no-partial-leading-underscore. This rule is no longer
  recognized.

- Switching from stylelint-use-logical-spec to
  stylelint-use-logical. The former is not yet compatible with
  stylelint 17.
2026-02-12 16:33:29 +02:00
Garrett LeSage
94a854b06a stylelint: Allow both old and new style @media breakpoints 2025-03-26 18:02:49 +01:00
Martin Pitt
cd1b301227 stylelint: Update deprecated at-import-partial-extension
It is spelled "load-partial-extension" now.

https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases/tag/v14.1.0
2024-12-02 14:07:11 +01:00
Martin Pitt
a82c92a821 stylelint: Drop checks which don't exist in version 16 any more 2024-02-07 15:59:17 +01:00
dependabot[bot]
f2a693ac15 Bump sass from 1.69.4 to 1.69.5
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.4 to 1.69.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.69.4...1.69.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 15:48:29 +01:00
Martin Pitt
1c62fdf9b6 stylelint: Adjust rules to stylelint 15
Commit 6402df72c updated stylelint, but I foolishly didn't trigger the
/devel scenario in that PR. Drop the deprecated "indentation" rule and
suppress the `media-feature-range-notation` errors like we did in
cockpit-machines.

Also explicitly set `selector-not-notation`, as we use nontrivial
selectors like `:not(:last-child)`.
2023-10-04 15:43:50 +02:00
Garrett LeSage
91920163f6 package.json: stylelint: Add logical property checker
Auto-fix usage of logical properties.
2023-05-11 18:39:09 +02:00
Garrett LeSage
c33285c2ca css, stylelint: Set indentation to 2; reindent everything 2022-08-12 11:57:22 +02:00
Garrett LeSage
937a1d35d1 stylelint: Adjust ruleset
First block: Rules that would mess up our CSS

Second block: Rules that I don't agree with (as they make the source
harder to read)

Third block: Rules that need manual intervention to fix
2022-06-30 12:53:56 +02:00
Jelle van der Waa
ee5dd59a30 stylelint: string-quotes 2022-06-24 20:00:52 +02:00
Jelle van der Waa
ca9fe32a4f stylelint: unit-case 2022-06-24 20:00:52 +02:00
Jelle van der Waa
11992bd392 stylelint: media-query-list-comma-space-{after,before} 2022-06-24 20:00:52 +02:00
Jelle van der Waa
1a91e93861 stylelint: media-query-list-comma-newline-after 2022-06-24 20:00:52 +02:00
Jelle van der Waa
6d6c34c01e stylelint: media-feature-name-no-vendor-prefix 2022-06-24 20:00:52 +02:00
Jelle van der Waa
6e578287dc stylelint: media-feature-name-case 2022-06-24 20:00:52 +02:00
Jelle van der Waa
23ad2e61af stylelint: media-feature-range-operator-space-{after,before} 2022-06-24 20:00:52 +02:00
Jelle van der Waa
a6bf14c76f stylelint: media-feature-parentheses-space-inside 2022-06-24 20:00:52 +02:00
Jelle van der Waa
0166d14e78 stylelint: media-feature-colon-space-{after,before} 2022-06-24 20:00:52 +02:00
Jelle van der Waa
0e17128788 stylelint: number-leading-zero 2022-06-24 20:00:52 +02:00
Jelle van der Waa
51d212db1f stylelint: number-no-trailing-zeros 2022-06-24 20:00:52 +02:00
Jelle van der Waa
97ce10b0c8 stylelint: no-eol-whitespace 2022-06-24 20:00:52 +02:00
Jelle van der Waa
7e90aa091d stylelint: no-extra-semicolons 2022-06-24 20:00:52 +02:00
Jelle van der Waa
6430c5b937 stylelint: block-opening-brace-newline-{before,after} 2022-06-24 06:16:51 +02:00
Jelle van der Waa
55719495f5 stylelint: block-opening-brace-space-before 2022-06-24 06:16:51 +02:00
Jelle van der Waa
aa4f797476 stylelint: block-opening-brace-space-after 2022-06-24 06:16:51 +02:00
Jelle van der Waa
2601cf6233 stylelint: block-closing-brace-space-before 2022-06-24 06:16:51 +02:00
Jelle van der Waa
a242af4458 stylelint: enable block-closing-newline-before 2022-06-24 06:16:51 +02:00
Jelle van der Waa
2b9f578b8d stylelint: block-closing-brace-empty-line-{after,before} 2022-06-24 06:16:51 +02:00
Jelle van der Waa
b872b180fe stylelint: enable function-comma-space-{before,after} 2022-06-24 06:16:51 +02:00
Jelle van der Waa
e449953a57 Enable CSS linting through stylelint
Include CSS linting by default for our CSS/SCSS files, for now all rules
are disabled so in the future they can be fixed in future pull requests.
2022-06-21 06:11:59 +02:00