@alextheman/eslint-plugin 1.13.7 → 1.13.8

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.13.7";
3709
+ var version = "1.13.8";
3710
3710
 
3711
3711
  // src/configs/alexPluginBase.ts
3712
3712
  function createAlexPluginBaseConfig(plugin) {
@@ -3775,6 +3775,7 @@ var typeScriptBase = [
3775
3775
  },
3776
3776
  rules: {
3777
3777
  "@typescript-eslint/consistent-type-imports": "error",
3778
+ "@typescript-eslint/no-redeclare": ["error", { ignoreDeclarationMerge: true }],
3778
3779
  "@typescript-eslint/no-unused-vars": [
3779
3780
  "error",
3780
3781
  {
@@ -3797,6 +3798,8 @@ var typeScriptBase = [
3797
3798
  "no-lonely-if": "error",
3798
3799
  "no-new-wrappers": "error",
3799
3800
  "no-param-reassign": "error",
3801
+ // Disable regular no-redeclare in favour of TypeScript-specific version since that will flag type redeclarations when we do const MyType = {}; export type MyType = ...
3802
+ "no-redeclare": "off",
3800
3803
  "no-restricted-imports": [
3801
3804
  "error",
3802
3805
  {
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import z from 'zod';
3
3
  import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.13.7";
6
+ var version = "1.13.8";
7
7
 
8
8
  interface AlexPlugin {
9
9
  meta: {
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import z from 'zod';
3
3
  import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.13.7";
6
+ var version = "1.13.8";
7
7
 
8
8
  interface AlexPlugin {
9
9
  meta: {
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.13.7";
3695
+ var version = "1.13.8";
3696
3696
 
3697
3697
  // src/configs/alexPluginBase.ts
3698
3698
  function createAlexPluginBaseConfig(plugin) {
@@ -3761,6 +3761,7 @@ var typeScriptBase = [
3761
3761
  },
3762
3762
  rules: {
3763
3763
  "@typescript-eslint/consistent-type-imports": "error",
3764
+ "@typescript-eslint/no-redeclare": ["error", { ignoreDeclarationMerge: true }],
3764
3765
  "@typescript-eslint/no-unused-vars": [
3765
3766
  "error",
3766
3767
  {
@@ -3783,6 +3784,8 @@ var typeScriptBase = [
3783
3784
  "no-lonely-if": "error",
3784
3785
  "no-new-wrappers": "error",
3785
3786
  "no-param-reassign": "error",
3787
+ // Disable regular no-redeclare in favour of TypeScript-specific version since that will flag type redeclarations when we do const MyType = {}; export type MyType = ...
3788
+ "no-redeclare": "off",
3786
3789
  "no-restricted-imports": [
3787
3790
  "error",
3788
3791
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "1.13.7",
3
+ "version": "1.13.8",
4
4
  "description": "A package to provide custom ESLint rules and configs",
5
5
  "license": "ISC",
6
6
  "author": "alextheman",