@taiga-ui/eslint-plugin-experience-next 0.548.0 → 0.549.0

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.
Files changed (2) hide show
  1. package/index.esm.js +65 -67
  2. package/package.json +8 -8
package/index.esm.js CHANGED
@@ -1249,7 +1249,6 @@ var recommended = defineConfig([
1249
1249
  '@angular-eslint/directive-selector': 'error',
1250
1250
  '@angular-eslint/no-async-lifecycle-method': 'error',
1251
1251
  '@angular-eslint/no-attribute-decorator': 'error',
1252
- '@angular-eslint/no-conflicting-lifecycle': 'error',
1253
1252
  '@angular-eslint/no-developer-preview': 'off',
1254
1253
  '@angular-eslint/no-duplicates-in-metadata-arrays': 'error',
1255
1254
  '@angular-eslint/no-empty-lifecycle-method': 'error',
@@ -12688,28 +12687,15 @@ class ClassScope extends ScopeBase_1$e.ScopeBase {
12688
12687
  }
12689
12688
  ClassScope$1.ClassScope = ClassScope;
12690
12689
 
12691
- var ClassStaticBlockScope$1 = {};
12692
-
12693
- Object.defineProperty(ClassStaticBlockScope$1, "__esModule", { value: true });
12694
- ClassStaticBlockScope$1.ClassStaticBlockScope = void 0;
12695
- const ScopeBase_1$d = ScopeBase$1;
12696
- const ScopeType_1$d = ScopeType$1;
12697
- class ClassStaticBlockScope extends ScopeBase_1$d.ScopeBase {
12698
- constructor(scopeManager, upperScope, block) {
12699
- super(scopeManager, ScopeType_1$d.ScopeType.classStaticBlock, upperScope, block, false);
12700
- }
12701
- }
12702
- ClassStaticBlockScope$1.ClassStaticBlockScope = ClassStaticBlockScope;
12703
-
12704
12690
  var ConditionalTypeScope$1 = {};
12705
12691
 
12706
12692
  Object.defineProperty(ConditionalTypeScope$1, "__esModule", { value: true });
12707
12693
  ConditionalTypeScope$1.ConditionalTypeScope = void 0;
12708
- const ScopeBase_1$c = ScopeBase$1;
12709
- const ScopeType_1$c = ScopeType$1;
12710
- class ConditionalTypeScope extends ScopeBase_1$c.ScopeBase {
12694
+ const ScopeBase_1$d = ScopeBase$1;
12695
+ const ScopeType_1$d = ScopeType$1;
12696
+ class ConditionalTypeScope extends ScopeBase_1$d.ScopeBase {
12711
12697
  constructor(scopeManager, upperScope, block) {
12712
- super(scopeManager, ScopeType_1$c.ScopeType.conditionalType, upperScope, block, false);
12698
+ super(scopeManager, ScopeType_1$d.ScopeType.conditionalType, upperScope, block, false);
12713
12699
  }
12714
12700
  }
12715
12701
  ConditionalTypeScope$1.ConditionalTypeScope = ConditionalTypeScope;
@@ -12718,11 +12704,11 @@ var ForScope$1 = {};
12718
12704
 
12719
12705
  Object.defineProperty(ForScope$1, "__esModule", { value: true });
12720
12706
  ForScope$1.ForScope = void 0;
12721
- const ScopeBase_1$b = ScopeBase$1;
12722
- const ScopeType_1$b = ScopeType$1;
12723
- class ForScope extends ScopeBase_1$b.ScopeBase {
12707
+ const ScopeBase_1$c = ScopeBase$1;
12708
+ const ScopeType_1$c = ScopeType$1;
12709
+ class ForScope extends ScopeBase_1$c.ScopeBase {
12724
12710
  constructor(scopeManager, upperScope, block) {
12725
- super(scopeManager, ScopeType_1$b.ScopeType.for, upperScope, block, false);
12711
+ super(scopeManager, ScopeType_1$c.ScopeType.for, upperScope, block, false);
12726
12712
  }
12727
12713
  }
12728
12714
  ForScope$1.ForScope = ForScope;
@@ -12732,12 +12718,12 @@ var FunctionExpressionNameScope$1 = {};
12732
12718
  Object.defineProperty(FunctionExpressionNameScope$1, "__esModule", { value: true });
12733
12719
  FunctionExpressionNameScope$1.FunctionExpressionNameScope = void 0;
12734
12720
  const definition_1$4 = definition;
12735
- const ScopeBase_1$a = ScopeBase$1;
12736
- const ScopeType_1$a = ScopeType$1;
12737
- class FunctionExpressionNameScope extends ScopeBase_1$a.ScopeBase {
12721
+ const ScopeBase_1$b = ScopeBase$1;
12722
+ const ScopeType_1$b = ScopeType$1;
12723
+ class FunctionExpressionNameScope extends ScopeBase_1$b.ScopeBase {
12738
12724
  functionExpressionScope;
12739
12725
  constructor(scopeManager, upperScope, block) {
12740
- super(scopeManager, ScopeType_1$a.ScopeType.functionExpressionName, upperScope, block, false);
12726
+ super(scopeManager, ScopeType_1$b.ScopeType.functionExpressionName, upperScope, block, false);
12741
12727
  if (block.id) {
12742
12728
  this.defineIdentifier(block.id, new definition_1$4.FunctionNameDefinition(block.id, block));
12743
12729
  }
@@ -12751,11 +12737,11 @@ var FunctionScope$1 = {};
12751
12737
  Object.defineProperty(FunctionScope$1, "__esModule", { value: true });
12752
12738
  FunctionScope$1.FunctionScope = void 0;
12753
12739
  const types_1$6 = dist$3;
12754
- const ScopeBase_1$9 = ScopeBase$1;
12755
- const ScopeType_1$9 = ScopeType$1;
12756
- class FunctionScope extends ScopeBase_1$9.ScopeBase {
12740
+ const ScopeBase_1$a = ScopeBase$1;
12741
+ const ScopeType_1$a = ScopeType$1;
12742
+ class FunctionScope extends ScopeBase_1$a.ScopeBase {
12757
12743
  constructor(scopeManager, upperScope, block, isMethodDefinition) {
12758
- super(scopeManager, ScopeType_1$9.ScopeType.function, upperScope, block, isMethodDefinition);
12744
+ super(scopeManager, ScopeType_1$a.ScopeType.function, upperScope, block, isMethodDefinition);
12759
12745
  // section 9.2.13, FunctionDeclarationInstantiation.
12760
12746
  // NOTE Arrow functions never have an arguments objects.
12761
12747
  if (this.block.type !== types_1$6.AST_NODE_TYPES.ArrowFunctionExpression) {
@@ -12787,11 +12773,11 @@ var FunctionTypeScope$1 = {};
12787
12773
 
12788
12774
  Object.defineProperty(FunctionTypeScope$1, "__esModule", { value: true });
12789
12775
  FunctionTypeScope$1.FunctionTypeScope = void 0;
12790
- const ScopeBase_1$8 = ScopeBase$1;
12791
- const ScopeType_1$8 = ScopeType$1;
12792
- class FunctionTypeScope extends ScopeBase_1$8.ScopeBase {
12776
+ const ScopeBase_1$9 = ScopeBase$1;
12777
+ const ScopeType_1$9 = ScopeType$1;
12778
+ class FunctionTypeScope extends ScopeBase_1$9.ScopeBase {
12793
12779
  constructor(scopeManager, upperScope, block) {
12794
- super(scopeManager, ScopeType_1$8.ScopeType.functionType, upperScope, block, false);
12780
+ super(scopeManager, ScopeType_1$9.ScopeType.functionType, upperScope, block, false);
12795
12781
  }
12796
12782
  }
12797
12783
  FunctionTypeScope$1.FunctionTypeScope = FunctionTypeScope;
@@ -12804,13 +12790,13 @@ const types_1$5 = dist$3;
12804
12790
  const assert_1$3 = assert$1;
12805
12791
  const ImplicitGlobalVariableDefinition_1 = ImplicitGlobalVariableDefinition$1;
12806
12792
  const variable_1 = variable$1;
12807
- const ScopeBase_1$7 = ScopeBase$1;
12808
- const ScopeType_1$7 = ScopeType$1;
12809
- class GlobalScope extends ScopeBase_1$7.ScopeBase {
12793
+ const ScopeBase_1$8 = ScopeBase$1;
12794
+ const ScopeType_1$8 = ScopeType$1;
12795
+ class GlobalScope extends ScopeBase_1$8.ScopeBase {
12810
12796
  // note this is accessed in used in the legacy eslint-scope tests, so it can't be true private
12811
12797
  implicit;
12812
12798
  constructor(scopeManager, block) {
12813
- super(scopeManager, ScopeType_1$7.ScopeType.global, null, block, false);
12799
+ super(scopeManager, ScopeType_1$8.ScopeType.global, null, block, false);
12814
12800
  this.implicit = {
12815
12801
  leftToBeResolved: [],
12816
12802
  set: new Map(),
@@ -12862,11 +12848,11 @@ var MappedTypeScope$1 = {};
12862
12848
 
12863
12849
  Object.defineProperty(MappedTypeScope$1, "__esModule", { value: true });
12864
12850
  MappedTypeScope$1.MappedTypeScope = void 0;
12865
- const ScopeBase_1$6 = ScopeBase$1;
12866
- const ScopeType_1$6 = ScopeType$1;
12867
- class MappedTypeScope extends ScopeBase_1$6.ScopeBase {
12851
+ const ScopeBase_1$7 = ScopeBase$1;
12852
+ const ScopeType_1$7 = ScopeType$1;
12853
+ class MappedTypeScope extends ScopeBase_1$7.ScopeBase {
12868
12854
  constructor(scopeManager, upperScope, block) {
12869
- super(scopeManager, ScopeType_1$6.ScopeType.mappedType, upperScope, block, false);
12855
+ super(scopeManager, ScopeType_1$7.ScopeType.mappedType, upperScope, block, false);
12870
12856
  }
12871
12857
  }
12872
12858
  MappedTypeScope$1.MappedTypeScope = MappedTypeScope;
@@ -12875,11 +12861,11 @@ var ModuleScope$1 = {};
12875
12861
 
12876
12862
  Object.defineProperty(ModuleScope$1, "__esModule", { value: true });
12877
12863
  ModuleScope$1.ModuleScope = void 0;
12878
- const ScopeBase_1$5 = ScopeBase$1;
12879
- const ScopeType_1$5 = ScopeType$1;
12880
- class ModuleScope extends ScopeBase_1$5.ScopeBase {
12864
+ const ScopeBase_1$6 = ScopeBase$1;
12865
+ const ScopeType_1$6 = ScopeType$1;
12866
+ class ModuleScope extends ScopeBase_1$6.ScopeBase {
12881
12867
  constructor(scopeManager, upperScope, block) {
12882
- super(scopeManager, ScopeType_1$5.ScopeType.module, upperScope, block, false);
12868
+ super(scopeManager, ScopeType_1$6.ScopeType.module, upperScope, block, false);
12883
12869
  }
12884
12870
  }
12885
12871
  ModuleScope$1.ModuleScope = ModuleScope;
@@ -12892,11 +12878,11 @@ var SwitchScope$1 = {};
12892
12878
 
12893
12879
  Object.defineProperty(SwitchScope$1, "__esModule", { value: true });
12894
12880
  SwitchScope$1.SwitchScope = void 0;
12895
- const ScopeBase_1$4 = ScopeBase$1;
12896
- const ScopeType_1$4 = ScopeType$1;
12897
- class SwitchScope extends ScopeBase_1$4.ScopeBase {
12881
+ const ScopeBase_1$5 = ScopeBase$1;
12882
+ const ScopeType_1$5 = ScopeType$1;
12883
+ class SwitchScope extends ScopeBase_1$5.ScopeBase {
12898
12884
  constructor(scopeManager, upperScope, block) {
12899
- super(scopeManager, ScopeType_1$4.ScopeType.switch, upperScope, block, false);
12885
+ super(scopeManager, ScopeType_1$5.ScopeType.switch, upperScope, block, false);
12900
12886
  }
12901
12887
  }
12902
12888
  SwitchScope$1.SwitchScope = SwitchScope;
@@ -12905,11 +12891,11 @@ var TSEnumScope$1 = {};
12905
12891
 
12906
12892
  Object.defineProperty(TSEnumScope$1, "__esModule", { value: true });
12907
12893
  TSEnumScope$1.TSEnumScope = void 0;
12908
- const ScopeBase_1$3 = ScopeBase$1;
12909
- const ScopeType_1$3 = ScopeType$1;
12910
- class TSEnumScope extends ScopeBase_1$3.ScopeBase {
12894
+ const ScopeBase_1$4 = ScopeBase$1;
12895
+ const ScopeType_1$4 = ScopeType$1;
12896
+ class TSEnumScope extends ScopeBase_1$4.ScopeBase {
12911
12897
  constructor(scopeManager, upperScope, block) {
12912
- super(scopeManager, ScopeType_1$3.ScopeType.tsEnum, upperScope, block, false);
12898
+ super(scopeManager, ScopeType_1$4.ScopeType.tsEnum, upperScope, block, false);
12913
12899
  }
12914
12900
  }
12915
12901
  TSEnumScope$1.TSEnumScope = TSEnumScope;
@@ -12918,11 +12904,11 @@ var TSModuleScope$1 = {};
12918
12904
 
12919
12905
  Object.defineProperty(TSModuleScope$1, "__esModule", { value: true });
12920
12906
  TSModuleScope$1.TSModuleScope = void 0;
12921
- const ScopeBase_1$2 = ScopeBase$1;
12922
- const ScopeType_1$2 = ScopeType$1;
12923
- class TSModuleScope extends ScopeBase_1$2.ScopeBase {
12907
+ const ScopeBase_1$3 = ScopeBase$1;
12908
+ const ScopeType_1$3 = ScopeType$1;
12909
+ class TSModuleScope extends ScopeBase_1$3.ScopeBase {
12924
12910
  constructor(scopeManager, upperScope, block) {
12925
- super(scopeManager, ScopeType_1$2.ScopeType.tsModule, upperScope, block, false);
12911
+ super(scopeManager, ScopeType_1$3.ScopeType.tsModule, upperScope, block, false);
12926
12912
  }
12927
12913
  }
12928
12914
  TSModuleScope$1.TSModuleScope = TSModuleScope;
@@ -12931,11 +12917,11 @@ var TypeScope$1 = {};
12931
12917
 
12932
12918
  Object.defineProperty(TypeScope$1, "__esModule", { value: true });
12933
12919
  TypeScope$1.TypeScope = void 0;
12934
- const ScopeBase_1$1 = ScopeBase$1;
12935
- const ScopeType_1$1 = ScopeType$1;
12936
- class TypeScope extends ScopeBase_1$1.ScopeBase {
12920
+ const ScopeBase_1$2 = ScopeBase$1;
12921
+ const ScopeType_1$2 = ScopeType$1;
12922
+ class TypeScope extends ScopeBase_1$2.ScopeBase {
12937
12923
  constructor(scopeManager, upperScope, block) {
12938
- super(scopeManager, ScopeType_1$1.ScopeType.type, upperScope, block, false);
12924
+ super(scopeManager, ScopeType_1$2.ScopeType.type, upperScope, block, false);
12939
12925
  }
12940
12926
  }
12941
12927
  TypeScope$1.TypeScope = TypeScope;
@@ -12945,11 +12931,11 @@ var WithScope$1 = {};
12945
12931
  Object.defineProperty(WithScope$1, "__esModule", { value: true });
12946
12932
  WithScope$1.WithScope = void 0;
12947
12933
  const assert_1$2 = assert$1;
12948
- const ScopeBase_1 = ScopeBase$1;
12949
- const ScopeType_1 = ScopeType$1;
12950
- class WithScope extends ScopeBase_1.ScopeBase {
12934
+ const ScopeBase_1$1 = ScopeBase$1;
12935
+ const ScopeType_1$1 = ScopeType$1;
12936
+ class WithScope extends ScopeBase_1$1.ScopeBase {
12951
12937
  constructor(scopeManager, upperScope, block) {
12952
- super(scopeManager, ScopeType_1.ScopeType.with, upperScope, block, false);
12938
+ super(scopeManager, ScopeType_1$1.ScopeType.with, upperScope, block, false);
12953
12939
  }
12954
12940
  close(scopeManager) {
12955
12941
  if (this.shouldStaticallyClose()) {
@@ -12983,7 +12969,6 @@ WithScope$1.WithScope = WithScope;
12983
12969
  __exportStar(CatchScope$1, exports);
12984
12970
  __exportStar(ClassFieldInitializerScope$1, exports);
12985
12971
  __exportStar(ClassScope$1, exports);
12986
- __exportStar(ClassStaticBlockScope$1, exports);
12987
12972
  __exportStar(ConditionalTypeScope$1, exports);
12988
12973
  __exportStar(ForScope$1, exports);
12989
12974
  __exportStar(FunctionExpressionNameScope$1, exports);
@@ -14266,6 +14251,19 @@ Referencer$1.Referencer = Referencer;
14266
14251
 
14267
14252
  var ScopeManager$1 = {};
14268
14253
 
14254
+ var ClassStaticBlockScope$1 = {};
14255
+
14256
+ Object.defineProperty(ClassStaticBlockScope$1, "__esModule", { value: true });
14257
+ ClassStaticBlockScope$1.ClassStaticBlockScope = void 0;
14258
+ const ScopeBase_1 = ScopeBase$1;
14259
+ const ScopeType_1 = ScopeType$1;
14260
+ class ClassStaticBlockScope extends ScopeBase_1.ScopeBase {
14261
+ constructor(scopeManager, upperScope, block) {
14262
+ super(scopeManager, ScopeType_1.ScopeType.classStaticBlock, upperScope, block, false);
14263
+ }
14264
+ }
14265
+ ClassStaticBlockScope$1.ClassStaticBlockScope = ClassStaticBlockScope;
14266
+
14269
14267
  Object.defineProperty(ScopeManager$1, "__esModule", { value: true });
14270
14268
  ScopeManager$1.ScopeManager = void 0;
14271
14269
  const assert_1 = assert$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/eslint-plugin-experience-next",
3
- "version": "0.548.0",
3
+ "version": "0.549.0",
4
4
  "description": "An ESLint plugin to enforce a consistent code styles across taiga-ui projects",
5
5
  "homepage": "https://github.com/taiga-family/toolkit#readme",
6
6
  "bugs": {
@@ -43,21 +43,21 @@
43
43
  "eslint-plugin-file-progress": "3.0.2",
44
44
  "eslint-plugin-import": "2.32.0",
45
45
  "eslint-plugin-jest": "29.15.2",
46
- "eslint-plugin-package-json": "1.3.0",
47
- "eslint-plugin-perfectionist": "5.9.0",
46
+ "eslint-plugin-package-json": "1.5.0",
47
+ "eslint-plugin-perfectionist": "5.9.1",
48
48
  "eslint-plugin-playwright": "2.10.4",
49
49
  "eslint-plugin-prettier": "5.5.6",
50
50
  "eslint-plugin-promise": "7.3.0",
51
51
  "eslint-plugin-regexp": "3.1.0",
52
52
  "eslint-plugin-simple-import-sort": "13.0.0",
53
- "eslint-plugin-sonarjs": "4.0.3",
54
- "eslint-plugin-unicorn": "65.0.0",
53
+ "eslint-plugin-sonarjs": "4.1.0",
54
+ "eslint-plugin-unicorn": "65.0.1",
55
55
  "eslint-plugin-unused-imports": "4.4.1",
56
- "globals": "17.6.0",
57
- "typescript-eslint": "8.60.1"
56
+ "globals": "17.7.0",
57
+ "typescript-eslint": "8.62.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@typescript-eslint/rule-tester": "8.60.1"
60
+ "@typescript-eslint/rule-tester": "8.62.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "eslint": "^9.39.4",