@alextheman/eslint-plugin 5.2.1 → 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 +9 -8
- package/dist/index.js +9 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3698,6 +3698,7 @@ const generalJavaScript = [
|
|
|
3698
3698
|
],
|
|
3699
3699
|
"n/no-missing-import": "off",
|
|
3700
3700
|
"n/no-path-concat": "error",
|
|
3701
|
+
"n/no-unpublished-import": "off",
|
|
3701
3702
|
"n/prefer-node-protocol": "error",
|
|
3702
3703
|
"no-cond-assign": "error",
|
|
3703
3704
|
"no-console": ["error", { allow: [
|
|
@@ -4146,14 +4147,14 @@ var components_default = personalComponents;
|
|
|
4146
4147
|
//#endregion
|
|
4147
4148
|
//#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
|
|
4148
4149
|
const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
|
|
4149
|
-
|
|
4150
|
-
"
|
|
4151
|
-
"
|
|
4152
|
-
"src"
|
|
4153
|
-
|
|
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) => {
|
|
4154
4156
|
return {
|
|
4155
|
-
|
|
4156
|
-
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.",
|
|
4157
4158
|
name: name$1
|
|
4158
4159
|
};
|
|
4159
4160
|
}),
|
|
@@ -4801,7 +4802,7 @@ var rules_default = {
|
|
|
4801
4802
|
//#endregion
|
|
4802
4803
|
//#region package.json
|
|
4803
4804
|
var name = "@alextheman/eslint-plugin";
|
|
4804
|
-
var version = "5.2.
|
|
4805
|
+
var version = "5.2.3";
|
|
4805
4806
|
|
|
4806
4807
|
//#endregion
|
|
4807
4808
|
//#region src/alexPlugin.ts
|
package/dist/index.js
CHANGED
|
@@ -3682,6 +3682,7 @@ const generalJavaScript = [
|
|
|
3682
3682
|
],
|
|
3683
3683
|
"n/no-missing-import": "off",
|
|
3684
3684
|
"n/no-path-concat": "error",
|
|
3685
|
+
"n/no-unpublished-import": "off",
|
|
3685
3686
|
"n/prefer-node-protocol": "error",
|
|
3686
3687
|
"no-cond-assign": "error",
|
|
3687
3688
|
"no-console": ["error", { allow: [
|
|
@@ -4130,14 +4131,14 @@ var components_default = personalComponents;
|
|
|
4130
4131
|
//#endregion
|
|
4131
4132
|
//#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
|
|
4132
4133
|
const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
|
|
4133
|
-
|
|
4134
|
-
"
|
|
4135
|
-
"
|
|
4136
|
-
"src"
|
|
4137
|
-
|
|
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) => {
|
|
4138
4140
|
return {
|
|
4139
|
-
|
|
4140
|
-
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.",
|
|
4141
4142
|
name: name$1
|
|
4142
4143
|
};
|
|
4143
4144
|
}),
|
|
@@ -4785,7 +4786,7 @@ var rules_default = {
|
|
|
4785
4786
|
//#endregion
|
|
4786
4787
|
//#region package.json
|
|
4787
4788
|
var name = "@alextheman/eslint-plugin";
|
|
4788
|
-
var version = "5.2.
|
|
4789
|
+
var version = "5.2.3";
|
|
4789
4790
|
|
|
4790
4791
|
//#endregion
|
|
4791
4792
|
//#region src/alexPlugin.ts
|