@eslint-react/eslint 5.24.3 → 5.24.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,11 +1,9 @@
1
1
  import * as ESLintUtils from "@typescript-eslint/utils/eslint-utils";
2
-
3
2
  //#region src/get-constrained-type-at-location.ts
4
3
  function getConstrainedTypeAtLocation(services, node) {
5
4
  const nodeType = services.getTypeAtLocation(node);
6
5
  return services.program.getTypeChecker().getBaseConstraintOfType(nodeType) ?? nodeType;
7
6
  }
8
-
9
7
  //#endregion
10
8
  //#region src/utils.ts
11
9
  function getDocsUrl(ruleName) {
@@ -28,6 +26,5 @@ function merge(base, ...rest) {
28
26
  }
29
27
  return base;
30
28
  }
31
-
32
29
  //#endregion
33
- export { createRule, getConstrainedTypeAtLocation, merge, report };
30
+ export { createRule, getConstrainedTypeAtLocation, merge, report };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint",
3
- "version": "5.24.3",
3
+ "version": "5.24.4",
4
4
  "description": "ESLint React's ESLint types and utils.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {