Socket
Socket
Sign inDemoInstall

eslint-plugin-tailwindcss

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-tailwindcss - npm Package Compare versions

Comparing version 3.16.0-beta.1 to 3.16.0

2

package.json
{
"name": "eslint-plugin-tailwindcss",
"version": "3.16.0-beta.1",
"version": "3.16.0",
"description": "Rules enforcing best practices while using Tailwind CSS",

@@ -5,0 +5,0 @@ "keywords": [

@@ -44,2 +44,3 @@ # eslint-plugin-tailwindcss

- feat: [**support flat config and ESLint 9**](https://github.com/francoismassart/eslint-plugin-tailwindcss/pull/330) (by [kazupon](https://github.com/kazupon) πŸ™)
- feat: new rule [**`no-unnecessary-arbitrary-value`**](docs/rules/no-unnecessary-arbitrary-value.md) πŸŽ‰

@@ -86,3 +87,3 @@ - fix: retro compatibility for older Tailwind CSS (before typescript config)

Use .eslintrc.* file to configure rules in ESLint < v9. See also: https://eslint.org/docs/latest/use/configure/.
Use .eslintrc.\* file to configure rules in ESLint < v9. See also: https://eslint.org/docs/latest/use/configure/.

@@ -98,3 +99,2 @@ ```js

#### `eslint.config.js`

@@ -107,5 +107,3 @@

export default [
...tailwind.configs["flat/recommended"],
];
export default [...tailwind.configs["flat/recommended"]];
```

@@ -162,4 +160,6 @@

- For `js[x]`, `ts[x]`:
- Install the parser: `npm i -D @eslint/js typescript-eslint`
- Assign it to your files in `eslint.config.js`:
```js

@@ -180,5 +180,8 @@ import js from "@eslint/js";

```
- For `vue.js`:
- Install the parser: `npm i -D eslint-plugin-vue`
- Assign it to your files in `eslint.config.js`:
```js

@@ -282,3 +285,3 @@ import vue from "eslint-plugin-vue";

},
}
},
];

@@ -285,0 +288,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc