Commit 2df072e
authored
Fix stylelint integration (#836)
* Fix the npm run lint:css command
* Fix rule for vec4
* Rewrite with a simple media query instead of stylus function
* Fix the no-duplicate-selectors errors
* Use css variables --font-normal and --font-monospace
* Remove non used webfontloader and Select rules
* Auto fix all stylelint errors
* Add lint:css to CI
* Make the media query min-width 1025px to really hide #viewportHud on iPad
* Disable selector-not-notation stylelint that wrongly report error
* Disable eslint indent rule that conflicts with prettier1 parent 8de513c commit 2df072e
File tree
15 files changed
+286
-201
lines changed- .github/workflows
- src/style
15 files changed
+286
-201
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments