Skip to content

Bump eslint-plugin-tailwindcss from 3.18.3 to 4.0.3#3319

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-tailwindcss-4.0.3
Open

Bump eslint-plugin-tailwindcss from 3.18.3 to 4.0.3#3319
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-tailwindcss-4.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps eslint-plugin-tailwindcss from 3.18.3 to 4.0.3.

Release notes

Sourced from eslint-plugin-tailwindcss's releases.

Tailwind CSS v4

Made for Tailwind CSS v4

Version 4 of the eslint-plugin-tailwindcss is:

This version has been made possible thanks to the work of hyoban and his project tailwind-api-utils.

The pre-release versions were tested on our Nx monorepo which uses Next.js, react and offcourse Tailwind CSS 4.

Tailwind CSS v4 (temp. version)

About Tailwind CSS 4 support

While the development of eslint-plugin-tailwindcss for Tailwind CSS v4 is ongoing, you can use the latest version published on the beta channel to get partial support of Tailwind CSS v4.

npm i eslint-plugin-tailwindcss@beta -D

NB: As we will focus the effort on the full rewrite of the plugin, this version is available "as is" and you may get errors or false positives like for the rule no-contradicting-classname . You can learn more about these issues on GitHub.

You can always disable specific rules if necessary.

This version has been made possible thanks to the work of hyoban and his project tailwind-api-utils.

v4.0.0-alpha.5

Implement caching and other enhancements aiming for better performances:

  • classnames-order
  • enforces-negative-arbitrary-values
  • enforces-shorthand
  • no-arbitrary-value
  • no-contradicting-classname
  • no-custom-classname
  • no-unnecessary-arbitrary-value

v4.0.0-alpha.3

  • no-contradicting-classname
  • enforces-shorthand
  • enforces-negative-arbitrary-values
  • no-arbitrary-value
  • no-unnecessary-arbitrary-value
  • Highlight enhancements

... (truncated)

Changelog

Sourced from eslint-plugin-tailwindcss's changelog.

Changelog

4.0.0

Made for Tailwind CSS v4

Version 4 of the eslint-plugin-tailwindcss is:

This version has been made possible thanks to the work of hyoban and his project tailwind-api-utils.

The pre-release versions were tested on our Nx monorepo which uses Next.js, react and offcourse Tailwind CSS 4.

Upgrade guide

Sourced from eslint-plugin-tailwindcss's upgrade guide.

Upgrade guide

eslint-plugin-tailwindcss from v3 to v4

Version 4 of the eslint-plugin-tailwindcss was rewritten entirely in TypeScript and it is exclusively compatible with Tailwind CSS v4.

If you are using Tailwind CSS v4, you should use the v4 of the plugin.

Changes from v3

Requirements

Your project must:

  • use Tailwind CSS v4
  • use node v20.19.0 or higher

Shared settings

In v3, you were able to use different settings for different rules.

In v4, most of the settings can only be defined within the shared settings.

You can read more about the available options of each rule in the docs. (e.g. no-unnecessary-arbitrary-value which has no dedicated options or no-custom-classname which uses a specific option)

The most important setting is the cssConfigPath which expects a path pointing to the main CSS file used by Tailwind CSS. If the provided path is absolute, it is used as is. If the path is relative the plugin will attempt to convert it into an absolute path.

Modified settings

  • callees is renamed functions
  • parseKeyFunctions list the functions in which we should validate the keys instead of the values
  • config
    • renamed cssConfigPath
    • pointing to the main css file
  • cssFiles is not used in v4
  • cssFilesRefreshRate is not used in v4
  • removeDuplicates is not used in v4
  • skipClassAttribute is not used in v4
  • whitelist is set in no-custom-classname's options
  • tags is renamed functions
  • classRegex
    • renamed attributes
    • only accept regular strings

Removed rule

migration-from-tailwind-2 rule has not been migrated to v4.

Do you need help?

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.18.3 to 4.0.3.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Changelog](https://github.com/francoismassart/eslint-plugin-tailwindcss/blob/v4/CHANGELOG.md)
- [Upgrade guide](https://github.com/francoismassart/eslint-plugin-tailwindcss/blob/v4/UPGRADE.md)
- [Commits](francoismassart/eslint-plugin-tailwindcss@v3.18.3...v4.0.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-version: 4.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants