@open-turo/eslint-config-react 15.0.3 → 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 {
|
|
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
|
|
74
|
+
reactPlugin.configs.flat["recommended"],
|
|
74
75
|
reactPlugin.configs.flat["jsx-runtime"],
|
|
75
76
|
jsxA11yPlugin.flatConfigs.recommended,
|
|
76
77
|
reactCompilerPlugin.configs.recommended,
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Turo eslint configuration for react",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@open-turo/eslint-config-typescript": "16.0.
|
|
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",
|
|
@@ -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.
|
|
52
|
+
"version": "15.0.4"
|
|
53
53
|
}
|
|
Binary file
|