@alextheman/eslint-plugin 1.6.0 → 1.6.2

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
@@ -3706,7 +3706,7 @@ module.exports = __toCommonJS(index_exports);
3706
3706
 
3707
3707
  // package.json
3708
3708
  var name = "@alextheman/eslint-plugin";
3709
- var version = "1.6.0";
3709
+ var version = "1.6.2";
3710
3710
 
3711
3711
  // src/configs/eslint-config-typescript-base.ts
3712
3712
  var import_js = __toESM(require_src(), 1);
@@ -3792,13 +3792,8 @@ var esLintConfigTypeScriptBase = [
3792
3792
  specialCharacters: "keep",
3793
3793
  partitionByComment: false,
3794
3794
  partitionByNewLine: false,
3795
- newlinesBetween: "ignore",
3796
- groups: [
3797
- { commentAbove: "Value exports" },
3798
- "value-export",
3799
- { newlinesBetween: 1, commentAbove: "Type exports" },
3800
- "type-export"
3801
- ],
3795
+ newlinesBetween: 1,
3796
+ groups: ["value-export", "type-export"],
3802
3797
  customGroups: []
3803
3798
  }
3804
3799
  ],
@@ -3864,7 +3859,7 @@ function createAlexTypeScriptReactBaseConfig(plugin2) {
3864
3859
  react: import_eslint_plugin_react.default
3865
3860
  },
3866
3861
  rules: __spreadProps(__spreadValues({}, import_eslint_plugin_react_hooks.default.configs.recommended.rules), {
3867
- "react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
3862
+ "react-refresh/only-export-components": "off",
3868
3863
  "react-hooks/exhaustive-deps": "off",
3869
3864
  "no-restricted-imports": [
3870
3865
  warnOnFixButErrorOnLint,
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import { Linter } from 'eslint';
3
3
  import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.6.0";
6
+ var version = "1.6.2";
7
7
 
8
8
  declare const prettierRules: Config;
9
9
 
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { Linter } from 'eslint';
3
3
  import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.6.0";
6
+ var version = "1.6.2";
7
7
 
8
8
  declare const prettierRules: Config;
9
9
 
package/dist/index.js CHANGED
@@ -3692,7 +3692,7 @@ var require_globals2 = __commonJS({
3692
3692
 
3693
3693
  // package.json
3694
3694
  var name = "@alextheman/eslint-plugin";
3695
- var version = "1.6.0";
3695
+ var version = "1.6.2";
3696
3696
 
3697
3697
  // src/configs/eslint-config-typescript-base.ts
3698
3698
  var import_js = __toESM(require_src(), 1);
@@ -3778,13 +3778,8 @@ var esLintConfigTypeScriptBase = [
3778
3778
  specialCharacters: "keep",
3779
3779
  partitionByComment: false,
3780
3780
  partitionByNewLine: false,
3781
- newlinesBetween: "ignore",
3782
- groups: [
3783
- { commentAbove: "Value exports" },
3784
- "value-export",
3785
- { newlinesBetween: 1, commentAbove: "Type exports" },
3786
- "type-export"
3787
- ],
3781
+ newlinesBetween: 1,
3782
+ groups: ["value-export", "type-export"],
3788
3783
  customGroups: []
3789
3784
  }
3790
3785
  ],
@@ -3850,7 +3845,7 @@ function createAlexTypeScriptReactBaseConfig(plugin2) {
3850
3845
  react: reactPlugin
3851
3846
  },
3852
3847
  rules: __spreadProps(__spreadValues({}, reactHooks.configs.recommended.rules), {
3853
- "react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
3848
+ "react-refresh/only-export-components": "off",
3854
3849
  "react-hooks/exhaustive-deps": "off",
3855
3850
  "no-restricted-imports": [
3856
3851
  warnOnFixButErrorOnLint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",