@alextheman/eslint-plugin 4.4.2 → 4.4.3

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.cjs CHANGED
@@ -59,7 +59,7 @@ eslint_plugin_package_json = __toESM(eslint_plugin_package_json);
59
59
 
60
60
  //#region package.json
61
61
  var name = "@alextheman/eslint-plugin";
62
- var version = "4.4.2";
62
+ var version = "4.4.3";
63
63
 
64
64
  //#endregion
65
65
  //#region node_modules/.pnpm/globals@16.5.0/node_modules/globals/globals.json
@@ -3907,21 +3907,29 @@ var alexCLine_default = personalAlexCLine;
3907
3907
 
3908
3908
  //#endregion
3909
3909
  //#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
3910
- const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [...[
3911
- "src/alexPlugin",
3912
- "src/index",
3913
- "src"
3914
- ].map((name$1) => {
3915
- return {
3910
+ const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
3911
+ ...[
3912
+ "src/alexPlugin",
3913
+ "src/index",
3914
+ "src"
3915
+ ].map((name$1) => {
3916
+ return {
3917
+ importNames: ["default"],
3918
+ message: "Do not import the plugin directly from the config files. Please create a function that takes in the plugin and returns the config instead.",
3919
+ name: name$1
3920
+ };
3921
+ }),
3922
+ {
3916
3923
  importNames: ["default"],
3917
- message: "Do not import the plugin directly from the config files. Please create a function that takes in the plugin and returns the config instead.",
3918
- name: name$1
3919
- };
3920
- }), {
3921
- importNames: ["default"],
3922
- message: "Please import from \"src/configs/helpers/eslint-plugin-react-hooks\" instead.",
3923
- name: "eslint-plugin-react-hooks"
3924
- }] });
3924
+ message: "Please import from \"src/configs/helpers/eslint-plugin-react-hooks\" instead.",
3925
+ name: "eslint-plugin-react-hooks"
3926
+ },
3927
+ {
3928
+ importNames: ["createRuleTester"],
3929
+ message: "Please import createRuleTester from \"tests/rule-testers/createRuleTester\" instead.",
3930
+ name: "eslint-vitest-rule-tester"
3931
+ }
3932
+ ] });
3925
3933
  var eslintPluginRestrictedImports_default = eslintPluginRestrictedImports;
3926
3934
 
3927
3935
  //#endregion
package/dist/index.js CHANGED
@@ -45,7 +45,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
45
45
  //#endregion
46
46
  //#region package.json
47
47
  var name = "@alextheman/eslint-plugin";
48
- var version = "4.4.2";
48
+ var version = "4.4.3";
49
49
 
50
50
  //#endregion
51
51
  //#region node_modules/.pnpm/globals@16.5.0/node_modules/globals/globals.json
@@ -3893,21 +3893,29 @@ var alexCLine_default = personalAlexCLine;
3893
3893
 
3894
3894
  //#endregion
3895
3895
  //#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
3896
- const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [...[
3897
- "src/alexPlugin",
3898
- "src/index",
3899
- "src"
3900
- ].map((name$1) => {
3901
- return {
3896
+ const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
3897
+ ...[
3898
+ "src/alexPlugin",
3899
+ "src/index",
3900
+ "src"
3901
+ ].map((name$1) => {
3902
+ return {
3903
+ importNames: ["default"],
3904
+ message: "Do not import the plugin directly from the config files. Please create a function that takes in the plugin and returns the config instead.",
3905
+ name: name$1
3906
+ };
3907
+ }),
3908
+ {
3902
3909
  importNames: ["default"],
3903
- message: "Do not import the plugin directly from the config files. Please create a function that takes in the plugin and returns the config instead.",
3904
- name: name$1
3905
- };
3906
- }), {
3907
- importNames: ["default"],
3908
- message: "Please import from \"src/configs/helpers/eslint-plugin-react-hooks\" instead.",
3909
- name: "eslint-plugin-react-hooks"
3910
- }] });
3910
+ message: "Please import from \"src/configs/helpers/eslint-plugin-react-hooks\" instead.",
3911
+ name: "eslint-plugin-react-hooks"
3912
+ },
3913
+ {
3914
+ importNames: ["createRuleTester"],
3915
+ message: "Please import createRuleTester from \"tests/rule-testers/createRuleTester\" instead.",
3916
+ name: "eslint-vitest-rule-tester"
3917
+ }
3918
+ ] });
3911
3919
  var eslintPluginRestrictedImports_default = eslintPluginRestrictedImports;
3912
3920
 
3913
3921
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "description": "A package to provide custom ESLint rules and configs",
5
5
  "repository": {
6
6
  "type": "git",