@alextheman/eslint-plugin 1.11.0 → 1.11.1

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.11.0";
3709
+ var version = "1.11.1";
3710
3710
 
3711
3711
  // src/configs/alexPluginBase.ts
3712
3712
  function createAlexPluginBaseConfig(plugin2) {
@@ -3754,7 +3754,7 @@ var typeScriptBase = [
3754
3754
  import_eslint_config_prettier.default,
3755
3755
  {
3756
3756
  name: "@alextheman/eslint-config-typescript-base",
3757
- files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
3757
+ files: ["**/*.ts", "**/*.tsx"],
3758
3758
  languageOptions: {
3759
3759
  parser: import_parser.default,
3760
3760
  parserOptions: {
@@ -3780,17 +3780,6 @@ var typeScriptBase = [
3780
3780
  "import/no-unresolved": "error",
3781
3781
  eqeqeq: "error",
3782
3782
  "no-console": ["error", { allow: ["warn", "error"] }],
3783
- "no-restricted-imports": [
3784
- "error",
3785
- {
3786
- patterns: [
3787
- {
3788
- group: ["node:test"],
3789
- message: "Use test functions from vitest instead."
3790
- }
3791
- ]
3792
- }
3793
- ],
3794
3783
  "perfectionist/sort-imports": [
3795
3784
  "error",
3796
3785
  {
@@ -3841,6 +3830,22 @@ var typeScriptBase = [
3841
3830
  "@typescript-eslint/consistent-type-imports": "error",
3842
3831
  "prettier/prettier": ["warn", prettierRules_default]
3843
3832
  }
3833
+ },
3834
+ {
3835
+ files: ["**/*.test.ts"],
3836
+ rules: {
3837
+ "no-restricted-imports": [
3838
+ "error",
3839
+ {
3840
+ patterns: [
3841
+ {
3842
+ group: ["node:test"],
3843
+ message: "Use test functions from vitest instead."
3844
+ }
3845
+ ]
3846
+ }
3847
+ ]
3848
+ }
3844
3849
  }
3845
3850
  ];
3846
3851
  var typeScriptBase_default = typeScriptBase;
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@ import { Linter } from 'eslint';
2
2
  import { Config } from 'prettier';
3
3
 
4
4
  var name = "@alextheman/eslint-plugin";
5
- var version = "1.11.0";
5
+ var version = "1.11.1";
6
6
 
7
7
  declare const prettierRules: Config;
8
8
 
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Linter } from 'eslint';
2
2
  import { Config } from 'prettier';
3
3
 
4
4
  var name = "@alextheman/eslint-plugin";
5
- var version = "1.11.0";
5
+ var version = "1.11.1";
6
6
 
7
7
  declare const prettierRules: Config;
8
8
 
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.11.0";
3695
+ var version = "1.11.1";
3696
3696
 
3697
3697
  // src/configs/alexPluginBase.ts
3698
3698
  function createAlexPluginBaseConfig(plugin2) {
@@ -3740,7 +3740,7 @@ var typeScriptBase = [
3740
3740
  prettierConfig,
3741
3741
  {
3742
3742
  name: "@alextheman/eslint-config-typescript-base",
3743
- files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
3743
+ files: ["**/*.ts", "**/*.tsx"],
3744
3744
  languageOptions: {
3745
3745
  parser: tsparser,
3746
3746
  parserOptions: {
@@ -3766,17 +3766,6 @@ var typeScriptBase = [
3766
3766
  "import/no-unresolved": "error",
3767
3767
  eqeqeq: "error",
3768
3768
  "no-console": ["error", { allow: ["warn", "error"] }],
3769
- "no-restricted-imports": [
3770
- "error",
3771
- {
3772
- patterns: [
3773
- {
3774
- group: ["node:test"],
3775
- message: "Use test functions from vitest instead."
3776
- }
3777
- ]
3778
- }
3779
- ],
3780
3769
  "perfectionist/sort-imports": [
3781
3770
  "error",
3782
3771
  {
@@ -3827,6 +3816,22 @@ var typeScriptBase = [
3827
3816
  "@typescript-eslint/consistent-type-imports": "error",
3828
3817
  "prettier/prettier": ["warn", prettierRules_default]
3829
3818
  }
3819
+ },
3820
+ {
3821
+ files: ["**/*.test.ts"],
3822
+ rules: {
3823
+ "no-restricted-imports": [
3824
+ "error",
3825
+ {
3826
+ patterns: [
3827
+ {
3828
+ group: ["node:test"],
3829
+ message: "Use test functions from vitest instead."
3830
+ }
3831
+ ]
3832
+ }
3833
+ ]
3834
+ }
3830
3835
  }
3831
3836
  ];
3832
3837
  var typeScriptBase_default = typeScriptBase;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",