@taiga-ui/eslint-plugin-experience-next 0.316.0 → 0.318.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.cjs.js CHANGED
@@ -616,8 +616,9 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require$1(
616
616
  fixWith: 'number',
617
617
  message: 'Use number instead',
618
618
  },
619
- Object: {
620
- message: 'The `Object` type actually means `any non-nullish value`, so it is marginally better than `unknown`.\n- If you want a type meaning `any object`, you probably want `object` instead.\n- If you want a type meaning `any value`, you probably want `unknown` instead.',
619
+ object: {
620
+ fixWith: 'Record<string, unknown>',
621
+ message: 'Use `Record<string, unknown>` instead',
621
622
  },
622
623
  String: {
623
624
  fixWith: 'string',
@@ -628,6 +629,7 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require$1(
628
629
  message: 'Use symbol instead',
629
630
  },
630
631
  '{}': {
632
+ fixWith: 'Record<string, unknown>',
631
633
  message: '`{}` actually means `any non-nullish value`.\n- If you want a type meaning `any object`, you probably want `object` instead.\n- If you want a type meaning `any value`, you probably want `unknown` instead.\n- If you want a type meaning `empty object`, you probably want `Record<string, never>` instead.',
632
634
  },
633
635
  },
package/index.esm.js CHANGED
@@ -611,8 +611,9 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require('e
611
611
  fixWith: 'number',
612
612
  message: 'Use number instead',
613
613
  },
614
- Object: {
615
- message: 'The `Object` type actually means `any non-nullish value`, so it is marginally better than `unknown`.\n- If you want a type meaning `any object`, you probably want `object` instead.\n- If you want a type meaning `any value`, you probably want `unknown` instead.',
614
+ object: {
615
+ fixWith: 'Record<string, unknown>',
616
+ message: 'Use `Record<string, unknown>` instead',
616
617
  },
617
618
  String: {
618
619
  fixWith: 'string',
@@ -623,6 +624,7 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require('e
623
624
  message: 'Use symbol instead',
624
625
  },
625
626
  '{}': {
627
+ fixWith: 'Record<string, unknown>',
626
628
  message: '`{}` actually means `any non-nullish value`.\n- If you want a type meaning `any object`, you probably want `object` instead.\n- If you want a type meaning `any value`, you probably want `unknown` instead.\n- If you want a type meaning `empty object`, you probably want `Record<string, never>` instead.',
627
629
  },
628
630
  },
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@taiga-ui/eslint-plugin-experience-next",
3
- "version": "0.316.0",
3
+ "version": "0.318.0",
4
4
  "description": "An ESLint plugin to enforce a consistent code styles across taiga-ui projects",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./index.cjs.js",
7
7
  "devDependencies": {
8
- "@typescript-eslint/rule-tester": "8.40.0",
8
+ "@typescript-eslint/rule-tester": "8.41.0",
9
9
  "glob": "11.0.3"
10
10
  },
11
11
  "peerDependencies": {
12
12
  "@eslint/compat": "^1.3.2",
13
- "@html-eslint/eslint-plugin": "^0.46.0",
13
+ "@html-eslint/eslint-plugin": "^0.46.1",
14
14
  "@html-eslint/parser": "^0.46.0",
15
15
  "@smarttools/eslint-plugin-rxjs": "^1.0.22",
16
16
  "@stylistic/eslint-plugin": "^5.2.3",
@@ -33,7 +33,7 @@
33
33
  "eslint-plugin-unused-imports": "^4.2.0",
34
34
  "glob": "*",
35
35
  "globals": "^16.3.0",
36
- "typescript-eslint": "^8.40.0"
36
+ "typescript-eslint": "^8.41.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"