eslint-plugin-react-x 1.40.0 → 1.40.1-next.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/dist/index.js CHANGED
@@ -141,7 +141,7 @@ var settings3 = {
141
141
 
142
142
  // package.json
143
143
  var name4 = "eslint-plugin-react-x";
144
- var version = "1.40.0";
144
+ var version = "1.40.1-next.0";
145
145
  var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("x"));
146
146
 
147
147
  // src/rules/avoid-shorthand-boolean.ts
@@ -3307,6 +3307,7 @@ function create51(context) {
3307
3307
  messageId: "preferReactNamespaceImport",
3308
3308
  node: hasOtherSpecifiers ? node : node.parent,
3309
3309
  data: { importSource },
3310
+ // TODO: Use `settings.languagePreference` to determine what code style to use in the fixer (e.g. single or double quotes)
3310
3311
  fix(fixer) {
3311
3312
  const quote = node.parent.source.raw.at(0) ?? "'";
3312
3313
  const isTypeImport = node.parent.importKind === "type";
package/dist/index.mjs CHANGED
@@ -113,7 +113,7 @@ var settings3 = {
113
113
 
114
114
  // package.json
115
115
  var name4 = "eslint-plugin-react-x";
116
- var version = "1.40.0";
116
+ var version = "1.40.1-next.0";
117
117
  var createRule = ESLintUtils.RuleCreator(getDocsUrl("x"));
118
118
 
119
119
  // src/rules/avoid-shorthand-boolean.ts
@@ -3279,6 +3279,7 @@ function create51(context) {
3279
3279
  messageId: "preferReactNamespaceImport",
3280
3280
  node: hasOtherSpecifiers ? node : node.parent,
3281
3281
  data: { importSource },
3282
+ // TODO: Use `settings.languagePreference` to determine what code style to use in the fixer (e.g. single or double quotes)
3282
3283
  fix(fixer) {
3283
3284
  const quote = node.parent.source.raw.at(0) ?? "'";
3284
3285
  const isTypeImport = node.parent.importKind === "type";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "1.40.0",
3
+ "version": "1.40.1-next.0",
4
4
  "description": "A set of composable linting rules for libraries and frameworks that use React as a UI runtime.",
5
5
  "keywords": [
6
6
  "react",
@@ -50,13 +50,13 @@
50
50
  "is-immutable-type": "^5.0.1",
51
51
  "string-ts": "^2.2.1",
52
52
  "ts-pattern": "^5.7.0",
53
- "@eslint-react/ast": "1.40.0",
54
- "@eslint-react/core": "1.40.0",
55
- "@eslint-react/eff": "1.40.0",
56
- "@eslint-react/jsx": "1.40.0",
57
- "@eslint-react/kit": "1.40.0",
58
- "@eslint-react/shared": "1.40.0",
59
- "@eslint-react/var": "1.40.0"
53
+ "@eslint-react/ast": "1.40.1-next.0",
54
+ "@eslint-react/eff": "1.40.1-next.0",
55
+ "@eslint-react/jsx": "1.40.1-next.0",
56
+ "@eslint-react/shared": "1.40.1-next.0",
57
+ "@eslint-react/core": "1.40.1-next.0",
58
+ "@eslint-react/var": "1.40.1-next.0",
59
+ "@eslint-react/kit": "1.40.1-next.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/react": "^19.0.12",