Skip to content

[QUESTION] eslint-plugin-tailwindcss + html + typescript #165

@Shuunen

Description

@Shuunen

Hello I'm wondering the best way to setup this plugin in a simple js/ts + html project

Here is how I managed to do it :

https://github.com/Shuunen/issues/tree/eslint-plugin-tailwindcss-with-html-and-ts

Step 1 : Javascript only ✅

image

Step 2 : Adding HTML support 🟢

image

Step 3 : Adding TypeScript support 🟢

image

Step 4 : Adding an eslint rule 🔴

image

Step 5 : Moving rule & parse to another override 🟢

image

Environment

  • OS: Windows 10 x64
  • Softwares + version used:
    • VSCode 1.71
    • Node 16

What do you think ?

Is there any way to simplify this ?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions