eslint-plugin-mgw-eslint-rules 2.3.3 → 2.3.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.
package/dist/index.js CHANGED
@@ -43925,7 +43925,7 @@ var require_dist6 = __commonJS({
43925
43925
  // src/index.ts
43926
43926
  var index_exports = {};
43927
43927
  __export(index_exports, {
43928
- plugin: () => plugin
43928
+ rules: () => rules
43929
43929
  });
43930
43930
  module.exports = __toCommonJS(index_exports);
43931
43931
 
@@ -44234,31 +44234,17 @@ var rule6 = createRule6({
44234
44234
  });
44235
44235
 
44236
44236
  // src/index.ts
44237
- var PLUGIN_NAME = "mgw-eslint-rules";
44238
- var plugin = {
44239
- rules: {
44240
- [RULE_NAME6]: rule6,
44241
- [RULE_NAME4]: rule4,
44242
- [RULE_NAME2]: rule2,
44243
- [RULE_NAME3]: rule3,
44244
- [RULE_NAME]: rule,
44245
- [RULE_NAME5]: rule5
44246
- },
44247
- // Configs are optional - only include if you want to provide preset configurations
44248
- configs: {
44249
- recommended: {
44250
- plugins: [PLUGIN_NAME],
44251
- rules: {
44252
- [`${PLUGIN_NAME}/${RULE_NAME6}`]: "warn",
44253
- [`${PLUGIN_NAME}/${RULE_NAME4}`]: "warn",
44254
- [`${PLUGIN_NAME}/${RULE_NAME}`]: "error"
44255
- }
44256
- }
44257
- }
44237
+ var rules = {
44238
+ [RULE_NAME6]: rule6,
44239
+ [RULE_NAME4]: rule4,
44240
+ [RULE_NAME2]: rule2,
44241
+ [RULE_NAME3]: rule3,
44242
+ [RULE_NAME]: rule,
44243
+ [RULE_NAME5]: rule5
44258
44244
  };
44259
44245
  // Annotate the CommonJS export names for ESM import in node:
44260
44246
  0 && (module.exports = {
44261
- plugin
44247
+ rules
44262
44248
  });
44263
44249
  /*! Bundled license information:
44264
44250