@open-turo/eslint-config-react 15.0.2 → 15.0.4

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/index.cjs CHANGED
@@ -1,3 +1,5 @@
1
+ // @ts-check
2
+
1
3
  const turoConfig = require("@open-turo/eslint-config-typescript");
2
4
  const jsxA11yPlugin = require("eslint-plugin-jsx-a11y");
3
5
  const reactPlugin = require("eslint-plugin-react");
@@ -7,9 +9,8 @@ const globals = require("globals");
7
9
  const tseslint = require("typescript-eslint");
8
10
 
9
11
  /**
10
- *
11
12
  * @param {object} options ESLint configuration options
12
- * @param {object} options.turo ESLing configuration options for open-turo/eslint-config-typescript. See their documentation for available options.
13
+ * @param {Parameters<typeof turoConfig>[0]} [options.turo] ESLint configuration options for `@open-turo/eslint-config-typescript`
13
14
  * @returns Configuration Array
14
15
  */
15
16
  module.exports = function config(options = {}) {
@@ -70,7 +71,7 @@ module.exports = function config(options = {}) {
70
71
  },
71
72
  {
72
73
  extends: [
73
- reactPlugin.configs.flat.recommended,
74
+ reactPlugin.configs.flat["recommended"],
74
75
  reactPlugin.configs.flat["jsx-runtime"],
75
76
  jsxA11yPlugin.flatConfigs.recommended,
76
77
  reactCompilerPlugin.configs.recommended,
package/package.json CHANGED
@@ -3,19 +3,19 @@
3
3
  "description": "Turo eslint configuration for react",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@open-turo/eslint-config-typescript": "16.0.5",
6
+ "@open-turo/eslint-config-typescript": "16.0.8",
7
7
  "eslint-plugin-jsx-a11y": "6.10.2",
8
8
  "eslint-plugin-react": "7.37.5",
9
9
  "eslint-plugin-react-compiler": "19.0.0-beta-ebf51a3-20250411",
10
10
  "eslint-plugin-react-hooks": "5.2.0",
11
11
  "globals": "16.2.0",
12
- "typescript-eslint": "8.34.0"
12
+ "typescript-eslint": "8.34.1"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/react": "19.1.8",
16
16
  "eslint": "9.29.0",
17
- "prettier": "3.5.3",
18
17
  "jest": "30.0.0",
18
+ "prettier": "3.5.3",
19
19
  "react": "19.1.0"
20
20
  },
21
21
  "engines": {
@@ -49,5 +49,5 @@
49
49
  "access": "public"
50
50
  },
51
51
  "repository": "https://github.com/open-turo/eslint-config-react",
52
- "version": "15.0.2"
52
+ "version": "15.0.4"
53
53
  }