Commit Graph

16 Commits (f3f87054b4828fbaf422430453a867d1204bdd32)

Author SHA1 Message Date
Michael Telatynski 2631b63d13
Remove deprecated stylelint rules which are handled by prettier (#10325) 2023-03-08 14:18:26 +00:00
Michael Weimann 526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Michael Weimann 1cac306093
Add prettier 2022-12-12 12:20:54 +01:00
Germain 72c24af5c0
Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
Michael Telatynski 01f4bb8c78
Rename PostCSS files to `.pcss` (#9013)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Delint

* Rename new files too

* delint

* Fix bad comment placement
2022-07-15 14:53:23 +01:00
Travis Ralston 39a08e1f4f
Style lint: Disallow shorthand `&` selectors (#8131)
* Impose and apply rule to prevent shorthand selectors

* Put one back to test the CI

* Put it back to pass CI
2022-03-23 12:23:23 -06:00
Šimon Brandner 5c66bd6c7b
Add `max-empty-lines` and `no-eol-whitespace` to stylelint (#7034) 2021-10-26 08:23:23 +01:00
Germain Souquet 54a0a869bf PR feedback 2021-08-24 09:09:28 +01:00
Šimon Brandner 12b3661dd6
Set color-hex-case to null
There is both lowercase and uppercase in some files so this should just make life easier if someone is using a stylelinter

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:03:28 +02:00
J. Ryan Stinnett ce226ab534 Replace Riot with Element in docs and comments
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.

Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
David Baker 3070ee6d7b Put back the grouped rule & disable the linting rule instead 2019-11-08 16:10:51 +00:00
David Baker 7a9246533d Hack to ignore @define-mixin
as per bug in comment
2019-08-13 15:40:03 +01:00
J. Ryan Stinnett 6c9bf25199 Add stylelint-scss plugin
This adds extra SCSS-specific rules. In particular, there's a modified at rule
processing rule which understands `mixin` and friends.
2019-07-10 16:56:40 +01:00
David Baker eb6f3f6008 Fix up some CSS things stylelint was complaining about
And also disable a load of rules that feel like they're probably
causing more headaches than they fix.
2019-04-09 15:03:13 +01:00
David Baker 564a9838b0 It's null, not "off" 2019-04-09 14:30:51 +01:00
David Baker 232521b30d Use js for the config file
Lest we spend an eternity being scalded about dangling commas
2019-04-09 14:20:17 +01:00