mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-06 11:18:19 +02:00
Fix a bug where VS Code's eslint integration does not work for the newtab project because of a conflict caused by sass-lint's eslint dependency. Switching over to stylelint eliminates that dependency and generally modernizes our SCSS linting. stylelint doesn't have a 1 to 1 replacement for every sass-lint rule, so a few rules have been changed. Differential Revision: https://phabricator.services.mozilla.com/D173605
29 lines
352 B
SCSS
29 lines
352 B
SCSS
html {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
*::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
background-color: inherit;
|
|
color: inherit;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important; // stylelint-disable-line declaration-no-important
|
|
}
|