-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] eslint-plugin-tailwindcss + html + typescript #165
Comments
Hi @Shuunen, |
It works. I’ll update the recommended settings soon. Thanks 🙏🏻 |
I added few default parsers based on file extensions inside the It should reduce the required configuration 😉 |
Great I'll let you know how it's going with this new release Thanks François 👍 |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) | [`3.8.0` -> `3.8.1`](https://renovatebot.com/diffs/npm/eslint-plugin-tailwindcss/3.8.0/3.8.1) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/compatibility-slim/3.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/confidence-slim/3.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>francoismassart/eslint-plugin-tailwindcss</summary> ### [`v3.8.1`](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.8.1) [Compare Source](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.8.0...v3.8.1) FIX: - reduces the minimum required configuration steps by including default parsers per file extension in the `recommended` preset (see [https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/165](https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/165)) - rewrite the [install instructions on the README](https://github.com/francoismassart/eslint-plugin-tailwindcss#installation) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ziyadedher/ziyadedher). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@Shuunen, it looks like this change is not wise because it creates more issues than it solves, see my comment I'm gonna revert it but update the documentation 😅 |
@francoismassart I'm not sure about that, let's talk about this in the other issue |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) | [`3.8.0` -> `3.8.1`](https://renovatebot.com/diffs/npm/eslint-plugin-tailwindcss/3.8.0/3.8.1) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/compatibility-slim/3.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-tailwindcss/3.8.1/confidence-slim/3.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>francoismassart/eslint-plugin-tailwindcss</summary> ### [`v3.8.1`](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v3.8.1) [Compare Source](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.8.0...v3.8.1) FIX: - reduces the minimum required configuration steps by including default parsers per file extension in the `recommended` preset (see [https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/165](https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/165)) - rewrite the [install instructions on the README](https://github.com/francoismassart/eslint-plugin-tailwindcss#installation) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ziyadedher/ziyadedher). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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 ✅
Step 2 : Adding HTML support 🟢
Step 3 : Adding TypeScript support 🟢
Step 4 : Adding an eslint rule 🔴
Step 5 : Moving rule & parse to another override 🟢
Environment
What do you think ?
Is there any way to simplify this ?
Regards
The text was updated successfully, but these errors were encountered: