@alextheman/eslint-plugin 5.2.2 → 5.2.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 +8 -8
- package/dist/index.js +8 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4147,14 +4147,14 @@ var components_default = personalComponents;
|
|
|
4147
4147
|
//#endregion
|
|
4148
4148
|
//#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
|
|
4149
4149
|
const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
|
|
4150
|
-
|
|
4151
|
-
"
|
|
4152
|
-
"
|
|
4153
|
-
"src"
|
|
4154
|
-
|
|
4150
|
+
{
|
|
4151
|
+
importNames: ["default"],
|
|
4152
|
+
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.",
|
|
4153
|
+
name: "src/alexPlugin"
|
|
4154
|
+
},
|
|
4155
|
+
...["src/index", "src"].map((name$1) => {
|
|
4155
4156
|
return {
|
|
4156
|
-
|
|
4157
|
-
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.",
|
|
4157
|
+
message: "Do not import directly from the index file.",
|
|
4158
4158
|
name: name$1
|
|
4159
4159
|
};
|
|
4160
4160
|
}),
|
|
@@ -4802,7 +4802,7 @@ var rules_default = {
|
|
|
4802
4802
|
//#endregion
|
|
4803
4803
|
//#region package.json
|
|
4804
4804
|
var name = "@alextheman/eslint-plugin";
|
|
4805
|
-
var version = "5.2.
|
|
4805
|
+
var version = "5.2.3";
|
|
4806
4806
|
|
|
4807
4807
|
//#endregion
|
|
4808
4808
|
//#region src/alexPlugin.ts
|
package/dist/index.js
CHANGED
|
@@ -4131,14 +4131,14 @@ var components_default = personalComponents;
|
|
|
4131
4131
|
//#endregion
|
|
4132
4132
|
//#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
|
|
4133
4133
|
const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
|
|
4134
|
-
|
|
4135
|
-
"
|
|
4136
|
-
"
|
|
4137
|
-
"src"
|
|
4138
|
-
|
|
4134
|
+
{
|
|
4135
|
+
importNames: ["default"],
|
|
4136
|
+
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.",
|
|
4137
|
+
name: "src/alexPlugin"
|
|
4138
|
+
},
|
|
4139
|
+
...["src/index", "src"].map((name$1) => {
|
|
4139
4140
|
return {
|
|
4140
|
-
|
|
4141
|
-
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.",
|
|
4141
|
+
message: "Do not import directly from the index file.",
|
|
4142
4142
|
name: name$1
|
|
4143
4143
|
};
|
|
4144
4144
|
}),
|
|
@@ -4786,7 +4786,7 @@ var rules_default = {
|
|
|
4786
4786
|
//#endregion
|
|
4787
4787
|
//#region package.json
|
|
4788
4788
|
var name = "@alextheman/eslint-plugin";
|
|
4789
|
-
var version = "5.2.
|
|
4789
|
+
var version = "5.2.3";
|
|
4790
4790
|
|
|
4791
4791
|
//#endregion
|
|
4792
4792
|
//#region src/alexPlugin.ts
|