Skip to content

Provide VS Code documentation for style linting #175

Open
@william-kerr

Description

@william-kerr

When viewing CSS rules in style.less {} in *.marko components in VS Code, I would like to see Stylelint warnings and NOT see duplicate warnings from the Marko extension.

I have figured out how to get:

  • TailwindCSS providing class name suggestions inside of *.marko files in the <html></html> section
  • Stylelint and TailwindCSS working in *.less files
  • Stylelint working with postcss-html custom syntax in *.marko files if I use <style></style> instead of style {}

In the following, I can get a Stylelint warning to show, but cannot figure out how to suppress the duplicate style warning from Marko, from appearing:

<style>
i {
}
</style>

It would be ideal to be able to write the following and see a Stylelint error in VS Code with no duplicate warning from Marko:

style.less {
  i {
  }
}

Please consider supporting that functionality and documenting it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions