@lsby/eslint-config 0.2.3 → 0.2.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.
@@ -97,6 +97,9 @@ var react\u5B89\u5168\u6027 = {
97
97
  react: import_eslint_plugin_react.default,
98
98
  "react-hooks": import_eslint_plugin_react_hooks.default
99
99
  },
100
+ settings: {
101
+ react: { version: "detect" }
102
+ },
100
103
  rules: {
101
104
  // 迭代元素必须有key
102
105
  "react/jsx-key": "error",
package/dist/esm/index.js CHANGED
@@ -56,6 +56,9 @@ var react\u5B89\u5168\u6027 = {
56
56
  react: reacteslint,
57
57
  "react-hooks": reacteslinthooks
58
58
  },
59
+ settings: {
60
+ react: { version: "detect" }
61
+ },
59
62
  rules: {
60
63
  // 迭代元素必须有key
61
64
  "react/jsx-key": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/eslint-config",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "require": "./dist/cjs/index.cjs",