@taiga-ui/eslint-plugin-experience-next 0.511.0 → 0.512.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.
package/index.esm.js CHANGED
@@ -373,6 +373,14 @@ const TUI_RECOMMENDED_NAMING_CONVENTION = [
373
373
  format: ['camelCase'],
374
374
  selector: ['classMethod', 'classProperty'],
375
375
  },
376
+ {
377
+ filter: {
378
+ match: true,
379
+ regex: String.raw `^(Infinity|NaN|Number|Math)$`,
380
+ },
381
+ format: null,
382
+ selector: 'classProperty',
383
+ },
376
384
  {
377
385
  format: ['UPPER_CASE', 'camelCase', 'PascalCase'],
378
386
  selector: ['variable'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/eslint-plugin-experience-next",
3
- "version": "0.511.0",
3
+ "version": "0.512.0",
4
4
  "description": "An ESLint plugin to enforce a consistent code styles across taiga-ui projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4,6 +4,13 @@ export declare const TUI_RECOMMENDED_NAMING_CONVENTION: readonly [{
4
4
  }, {
5
5
  readonly format: readonly ["camelCase"];
6
6
  readonly selector: readonly ["classMethod", "classProperty"];
7
+ }, {
8
+ readonly filter: {
9
+ readonly match: true;
10
+ readonly regex: string;
11
+ };
12
+ readonly format: null;
13
+ readonly selector: "classProperty";
7
14
  }, {
8
15
  readonly format: readonly ["UPPER_CASE", "camelCase", "PascalCase"];
9
16
  readonly selector: readonly ["variable"];
@@ -28,6 +35,13 @@ export declare const TUI_CUSTOM_TAIGA_NAMING_CONVENTION: readonly [{
28
35
  }, {
29
36
  readonly format: readonly ["camelCase"];
30
37
  readonly selector: readonly ["classMethod", "classProperty"];
38
+ }, {
39
+ readonly filter: {
40
+ readonly match: true;
41
+ readonly regex: string;
42
+ };
43
+ readonly format: null;
44
+ readonly selector: "classProperty";
31
45
  }, {
32
46
  readonly format: readonly ["UPPER_CASE", "camelCase", "PascalCase"];
33
47
  readonly selector: readonly ["variable"];