@faergeek/eslint-config 8.1.6 → 8.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.
@@ -0,0 +1,5 @@
1
+ export const base: import("eslint/config").Config[];
2
+ export const react: import("eslint/config").Config[];
3
+ export const typescript: import("eslint/config").Config[];
4
+ export const vitest: import("eslint/config").Config[];
5
+ //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -57,7 +57,7 @@ export const react = defineConfig({
57
57
  extends: [
58
58
  reactPlugin.configs.flat.recommended,
59
59
  reactPlugin.configs.flat['jsx-runtime'],
60
- reactHooksPlugin.configs['recommended-latest'],
60
+ reactHooksPlugin.configs.flat.recommended,
61
61
  ],
62
62
  settings: { react: { version: 'detect' } },
63
63
  rules: {
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@faergeek/eslint-config",
4
- "version": "8.1.6",
5
- "exports": "./index.js",
4
+ "version": "8.2.0",
5
+ "exports": {
6
+ "types": "./dist/index.d.ts",
7
+ "default": "./index.js"
8
+ },
6
9
  "files": [
10
+ "./dist/index.d.ts",
7
11
  "index.js"
8
12
  ],
9
13
  "author": "Sergei Slipchenko <faergeek@gmail.com>",
@@ -15,7 +19,7 @@
15
19
  "dependencies": {
16
20
  "@vitest/eslint-plugin": "^1.0.1",
17
21
  "eslint-plugin-react": "^7.23.2",
18
- "eslint-plugin-react-hooks": "^5.0.0",
22
+ "eslint-plugin-react-hooks": "^7.0.0",
19
23
  "eslint-plugin-simple-import-sort": "^12.0.0",
20
24
  "typescript-eslint": "^8.0.0"
21
25
  },
@@ -24,16 +28,18 @@
24
28
  "eslint": "^9.0.0"
25
29
  },
26
30
  "devDependencies": {
27
- "@commitlint/cli": "^19.0.0",
28
- "@commitlint/config-conventional": "^19.0.0",
31
+ "@commitlint/cli": "^20.0.0",
32
+ "@commitlint/config-conventional": "^20.0.0",
29
33
  "@eslint/js": "^9.19.0",
30
34
  "eslint": "^9.0.0",
31
35
  "git-cliff": "^2.10.0",
32
- "prettier": "^3.0.0"
36
+ "prettier": "^3.0.0",
37
+ "typescript": "^5.9.3"
33
38
  },
34
39
  "scripts": {
35
40
  "lint": "eslint --max-warnings 0",
36
41
  "format": "prettier --write .",
37
- "format:check": "prettier --check ."
42
+ "format:check": "prettier --check .",
43
+ "build": "tsc"
38
44
  }
39
45
  }