francoismassart / eslint-plugin-tailwindcss

ESLint plugin for Tailwind CSS usage
https://www.npmjs.com/package/eslint-plugin-tailwindcss
MIT License
1.38k stars 65 forks source link

Fixed regression if lint runs more than cssFilesRefreshRate #341

Closed XantreDev closed 1 month ago

XantreDev commented 1 month ago

Pull Request Name

Description

Tries to fix behavior regression

Fixes https://github.com/francoismassart/eslint-plugin-tailwindcss/pull/338#discussion_r1628453766

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Test Configuration:

Checklist:

francoismassart commented 1 month ago

@XantreDev, I've been working on similar issue on this beta release, would you mind trying it in your projects and let me know if everything run smoothly ?

npm i eslint-plugin-tailwindcss@3.17.3-beta.3 -D

francoismassart commented 1 month ago

Should be fixed in latest release (3.17.4)

XantreDev commented 1 month ago

Sorry. Had other things to do Btw, I've implement e2e test, which checked error with lint on long run and encountered that my version with fix works slower than original one. Probably because of additional stats call. I would like to commit it and add to the tests

francoismassart commented 4 weeks ago

@XantreDev, no worries, contributions are always welcome.

You can simply create a new PR with the suggested changes.