LandrAudio / linting-and-formatting

Configuration files for Eslint, Prettier and Stylelint for LANDR projects
5 stars 1 forks source link

Yah #116

Open Yonita34567 opened 1 month ago

Yonita34567 commented 1 month ago

@import url("foo.css"); @import url("bar.css");

@custom-media --foo (min-width: 30em);

/**

:root { --brand-red: hsl(5deg 10% 40%); }

/ Single-line comment /

.class-foo:not(a, div) { margin: 0; top: calc(100% - 2rem); }

/ Flush single line comment / @media (width >= 60em) {

id-bar {

/* Flush to parent comment */
--offset: 0px;

color: #fff;
font-family: Helvetica, "Arial Black", sans-serif;
left: calc(var(--offset) + 50%);

}

/ Flush nested single line comment / a::after { display: block; content: "→"; background-image: url("x.svg"); } }

@keyframes fade-in { from { opacity: 0; }

to { opacity: 1; } }