@indigo-reemploi/eslint-config-client 1.1.0 → 1.2.0

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.
Files changed (2) hide show
  1. package/package.json +11 -10
  2. package/src/eslint.mjs +6 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigo-reemploi/eslint-config-client",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Shared eslint config for Client",
5
5
  "main": "./src/index.mjs",
6
6
  "files": [
@@ -10,26 +10,27 @@
10
10
  "license": "MIT",
11
11
  "packageManager": "yarn@4.12.0",
12
12
  "dependencies": {
13
- "@eslint/compat": "2.0.2",
13
+ "@eslint-react/eslint-plugin": "^4.2.3",
14
+ "@eslint/compat": "2.0.5",
14
15
  "@eslint/js": "10.0.1",
15
16
  "@types/eslint__js": "9.14.0",
16
- "@typescript-eslint/parser": "8.56.0",
17
+ "@typescript-eslint/parser": "8.58.2",
17
18
  "eslint-config-prettier": "10.1.8",
18
- "eslint-plugin-better-tailwindcss": "^3.8.0",
19
+ "eslint-plugin-better-tailwindcss": "^4.4.1",
19
20
  "eslint-plugin-import": "2.32.0",
20
- "eslint-plugin-jest": "29.15.0",
21
+ "eslint-plugin-jest": "29.15.2",
21
22
  "eslint-plugin-jsx-a11y": "6.10.2",
22
23
  "eslint-plugin-prettier": "5.5.5",
23
24
  "eslint-plugin-react": "7.37.5",
24
- "eslint-plugin-simple-import-sort": "12.1.1",
25
+ "eslint-plugin-simple-import-sort": "13.0.0",
25
26
  "eslint-plugin-unused-imports": "4.4.1",
26
27
  "prettier-plugin-tailwindcss": "0.7.2",
27
- "typescript-eslint": "8.56.0"
28
+ "typescript-eslint": "8.58.2"
28
29
  },
29
30
  "peerDependencies": {
30
- "eslint": "10.0.0",
31
+ "eslint": "10.2.1",
31
32
  "jest": "^29.7.0 || ^30.0.0",
32
- "prettier": "3.8.1",
33
- "typescript": "^5.8.3"
33
+ "prettier": "3.8.3",
34
+ "typescript": "^6.0.3"
34
35
  }
35
36
  }
package/src/eslint.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { fixupPluginRules } from "@eslint/compat";
2
- import eslint from "@eslint/js";
2
+ import js from "@eslint/js";
3
3
  import jest from "eslint-plugin-jest";
4
4
  import jsxA11y from "eslint-plugin-jsx-a11y";
5
5
  import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
@@ -7,13 +7,14 @@ import react from "eslint-plugin-react";
7
7
  import simpleImportSort from "eslint-plugin-simple-import-sort";
8
8
  import unusedImports from "eslint-plugin-unused-imports";
9
9
  import tseslint from "typescript-eslint";
10
+ import { defineConfig } from 'eslint/config';
10
11
  import eslintPluginBetterTailwindcss from "eslint-plugin-better-tailwindcss";
11
12
 
12
13
  import importRules from "./rules/import.mjs";
13
14
 
14
- export default tseslint.config(
15
- eslint.configs.recommended,
16
- ...tseslint.configs.recommended,
15
+ export default defineConfig(
16
+ js.configs.recommended,
17
+ tseslint.configs.recommended,
17
18
  jest.configs["flat/recommended"],
18
19
  jsxA11y.flatConfigs.recommended,
19
20
  react.configs.flat.recommended,
@@ -90,6 +91,7 @@ export default tseslint.config(
90
91
  { order: "official" },
91
92
  ],
92
93
  "better-tailwindcss/no-unregistered-classes": "off",
94
+ "better-tailwindcss/no-unknown-classes": "off",
93
95
  },
94
96
  },
95
97
  {