@peerigon/configs 8.0.0 → 9.0.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # [9.0.0](https://github.com/peerigon/configs/compare/v8.1.0...v9.0.0) (2025-10-15)
2
+
3
+ ### Bug Fixes
4
+
5
+ - remove fixed [@ts-expect-error](https://github.com/ts-expect-error) directives ([213325d](https://github.com/peerigon/configs/commit/213325d3102e9d72ffee6118822b52c7d22128e0))
6
+
7
+ ### Features
8
+
9
+ - **react:** bump @eslint-react/eslint-plugin from 1.52.6 to 2.0.4 ([#171](https://github.com/peerigon/configs/issues/171)) ([ec855ad](https://github.com/peerigon/configs/commit/ec855ad8d553a0b5870e34e883cd3a32bfc52b45))
10
+
11
+ ### BREAKING CHANGES
12
+
13
+ - **react:** Potentially breaking change for React users, see https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md#v200-2025-09-26
14
+
15
+ Bumps
16
+ [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/packages/plugins/eslint-plugin)
17
+ from 1.52.6 to 2.0.4.
18
+
19
+ # [8.1.0](https://github.com/peerigon/configs/compare/v8.0.0...v8.1.0) (2025-10-15)
20
+
21
+ ### Features
22
+
23
+ - Introduce tanstack query specific rules ([3cdfbd9](https://github.com/peerigon/configs/commit/3cdfbd9d5f9883b7577fc8539102d397d177d9a0))
24
+ - Introduce tanstack query specific rules ([#172](https://github.com/peerigon/configs/issues/172)) ([caeb816](https://github.com/peerigon/configs/commit/caeb81653f9d7da9a7d9ec5a203a281dfe629738)), closes [#166](https://github.com/peerigon/configs/issues/166)
25
+
1
26
  # [8.0.0](https://github.com/peerigon/configs/compare/v7.4.0...v8.0.0) (2025-10-01)
2
27
 
3
28
  ### Features
@@ -25,12 +25,10 @@ export const react = [
25
25
  ...reactPlugin.configs.flat["jsx-runtime"],
26
26
  files,
27
27
  },
28
- // @ts-expect-error Seems like reactPlugin2's types are broken
29
28
  {
30
29
  ...reactPlugin2.configs.recommended,
31
30
  files,
32
31
  },
33
- // @ts-expect-error Seems like reactPlugin2's types are broken
34
32
  {
35
33
  ...reactPlugin2.configs["recommended-type-checked"],
36
34
  files,
@@ -0,0 +1,3 @@
1
+ /** @type {import("eslint").Linter.Config[]} */
2
+ export const tanstackQuery: import("eslint").Linter.Config[];
3
+ export default tanstackQuery;
@@ -0,0 +1,14 @@
1
+ import pluginQuery from "@tanstack/eslint-plugin-query";
2
+ import { globPatterns } from "../lib/glob-patterns.js";
3
+ const files = [
4
+ globPatterns.javascript,
5
+ globPatterns.typescript,
6
+ globPatterns.jsx,
7
+ globPatterns.typescriptJsx,
8
+ ];
9
+ /** @type {import("eslint").Linter.Config[]} */
10
+ export const tanstackQuery = [
11
+ { files },
12
+ ...pluginQuery.configs["flat/recommended"],
13
+ ];
14
+ export default tanstackQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerigon/configs",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "description": "Configs for ESLint, Prettier, TypeScript & friends",
5
5
  "keywords": [
6
6
  "eslint",
@@ -27,6 +27,7 @@
27
27
  "./eslint/presets/typescript-node": "./dist/eslint/presets/typescript-node.js",
28
28
  "./eslint/presets/typescript-react": "./dist/eslint/presets/typescript-react.js",
29
29
  "./eslint/presets/typescript": "./dist/eslint/presets/typescript.js",
30
+ "./eslint/rules/tanstack-query": "./dist/eslint/rules/tanstack-query.js",
30
31
  "./eslint/rules/vitest": "./dist/eslint/rules/vitest.js",
31
32
  "./eslint/styles/jsx-no-literals": "./dist/eslint/styles/jsx-no-literals.js",
32
33
  "./eslint/styles/no-default-export": "./dist/eslint/styles/no-default-export.js",
@@ -68,8 +69,8 @@
68
69
  "release": "semantic-release"
69
70
  },
70
71
  "dependencies": {
71
- "@eslint-react/eslint-plugin": "^1.52.6",
72
- "@eslint/compat": "^1.3.2",
72
+ "@eslint-react/eslint-plugin": "^2.0.5",
73
+ "@eslint/compat": "^1.4.0",
73
74
  "@eslint/js": "^9.32.0",
74
75
  "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
75
76
  "@prettier/plugin-oxc": "^0.0.4",
@@ -77,6 +78,7 @@
77
78
  "@semantic-release/changelog": "^6.0.3",
78
79
  "@semantic-release/exec": "^7.1.0",
79
80
  "@semantic-release/git": "^10.0.1",
81
+ "@tanstack/eslint-plugin-query": "^5.91.1",
80
82
  "@types/eslint-config-prettier": "^6.11.3",
81
83
  "@types/eslint-plugin-jsx-a11y": "^6.10.0",
82
84
  "@vitest/eslint-plugin": "^1.3.5",
@@ -102,15 +104,15 @@
102
104
  "@types/node": "^24.3.0",
103
105
  "@types/react": "^19.1.12",
104
106
  "@types/signale": "^1.4.7",
105
- "eslint": "^9.34.0",
107
+ "eslint": "^9.36.0",
106
108
  "husky": "^9.1.7",
107
- "lint-staged": "^16.1.6",
109
+ "lint-staged": "^16.2.3",
108
110
  "npm-run-all2": "^8.0.4",
109
111
  "pin-github-action": "^3.4.0",
110
112
  "prettier": "^3.6.2",
111
113
  "react": "^19.1.1",
112
114
  "rimraf": "^6.0.1",
113
- "semantic-release": "^24.2.7",
115
+ "semantic-release": "^24.2.9",
114
116
  "typescript": "^5.9.2"
115
117
  },
116
118
  "peerDependencies": {