Anders Kaseorg
e789a8bb20
stylelint: Enable no-vendor-prefix rules.
...
Our vendor prefixes are generated by autoprefixer.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-07 15:17:20 -07:00
Anders Kaseorg
483445e3d3
styles: Remove unit from 0 lengths.
...
Generated by stylelint --fix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
6dea671fde
styles: Merge duplicate selectors.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
3572dcc67c
styles: Remove shorthand property overrides.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
725ca116dd
styles: Remove duplicate properties.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
0f78efdbb5
styles: Replace invalid user-drag property with -webkit-user-drag.
...
Commit abbd8a7f45
(#13112 ) should have
removed the nonexistent user-drag property rather than the
Webkit-specific -webkit-user-drag property.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:30:45 -07:00
Anders Kaseorg
9f2cd66a4d
lint: Migrate all custom CSS rules to stylelint.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:30:07 -07:00
Anders Kaseorg
c593a62b50
styles: Enable stylelint function-url-quotes rule.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
18ce4aed8b
styles: Enable stylelint font-family-name-quotes rule.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
ca2dc639c4
styles: Enable most stylelint-config-standard rules.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
7c7f030d54
styles: Enable most stylelint-config-recommended rules.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
c6ed5c81de
styles: Format CSS with Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
6c0afbb68d
stylelint: Move .stylelintrc to stylelint.config.js.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:32:04 -07:00