runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
319 stars 38 forks source link

border shorthand css error #72

Closed ghost closed 4 years ago

ghost commented 4 years ago

I'm not sure if this is a valid linter error, but we are getting these whenever we try to use a color in border shorthand:

const color = css`#eee`;
const styles = css`
  .something {
    border: 2px solid ${color};
  }
`;

We're getting 'semi-colon expected' error at the first 'c' in color on line 4.