@freehour/eslint-rules 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,9 +27,16 @@ export default defineConfig(
27
27
  }),
28
28
  {
29
29
  files: ['**/*.{ts,tsx}'],
30
+ settings: {
31
+ tailwindcss: {
32
+ // When using Tailwind CSS, make sure to specify the path to your Tailwind CSS configuration file. Must be an absolute path
33
+ config: '/workspaces/project/tailwind.css',
34
+ },
35
+ }
30
36
  },
31
37
  );
32
38
  ```
39
+
33
40
  The ESLint rules are designed to be compatible with the following TypeScript compiler options. Make sure to set them in your `tsconfig.json`:
34
41
 
35
42
  ```jsonc
package/dist/index.js CHANGED
@@ -70,7 +70,7 @@ async function l({ node: l = !1, browser: u = !1, react: d = !1, tailwindcss: f
70
70
  "no-duplicate-case": "error",
71
71
  "no-duplicate-imports": "off",
72
72
  "no-empty-character-class": "error",
73
- "no-empty-pattern": "error",
73
+ "no-empty-pattern": "warn",
74
74
  "no-ex-assign": "error",
75
75
  "no-fallthrough": "off",
76
76
  "no-func-assign": "error",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "displayName": "eslint-rules",
5
5
  "description": "ESLint rules for TypeScript projects.",
6
- "version": "1.0.3",
6
+ "version": "1.0.5",
7
7
  "type": "module",
8
8
  "repository": {
9
9
  "type": "git",