@rsdk/eslint-plugin 5.11.0-next.9 → 5.12.0-next.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 (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/index.js +11 -2
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.11.0](https://github.com/R-Vision/rsdk/compare/v5.11.0-next.10...v5.11.0) (2025-12-22)
7
+
8
+ **Note:** Version bump only for package @rsdk/eslint-plugin
9
+
6
10
  ## [5.10.0](https://github.com/R-Vision/rsdk/compare/v5.10.0-next.2...v5.10.0) (2025-10-16)
7
11
 
8
12
  **Note:** Version bump only for package @rsdk/eslint-plugin
package/index.js CHANGED
@@ -38,6 +38,15 @@ module.exports = {
38
38
  '@typescript-eslint/explicit-module-boundary-types': 'off',
39
39
  '@typescript-eslint/no-explicit-any': 'off',
40
40
  '@typescript-eslint/explicit-function-return-type': 'error',
41
+ // Разрешаем Function тип (legacy код, декораторы)
42
+ '@typescript-eslint/no-unsafe-function-type': 'off',
43
+ // Разрешаем {} тип для совместимости
44
+ '@typescript-eslint/no-empty-object-type': 'off',
45
+ // Разрешаем expressions в некоторых местах
46
+ '@typescript-eslint/no-unused-expressions': ['error', {
47
+ allowShortCircuit: true,
48
+ allowTernary: true,
49
+ }],
41
50
  'import/no-extraneous-dependencies': [
42
51
  'error',
43
52
  {
@@ -57,7 +66,7 @@ module.exports = {
57
66
  ],
58
67
  '@typescript-eslint/consistent-type-imports': 'error',
59
68
  '@typescript-eslint/member-ordering': 'warn',
60
- '@typescript-eslint/lines-between-class-members': [
69
+ '@stylistic/lines-between-class-members': [
61
70
  'warn',
62
71
  'always',
63
72
  {
@@ -65,7 +74,7 @@ module.exports = {
65
74
  exceptAfterOverload: true,
66
75
  },
67
76
  ],
68
- '@typescript-eslint/padding-line-between-statements': [
77
+ '@stylistic/padding-line-between-statements': [
69
78
  'warn',
70
79
  { blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' },
71
80
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/eslint-plugin",
3
- "version": "5.11.0-next.9",
3
+ "version": "5.12.0-next.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -8,8 +8,8 @@
8
8
  },
9
9
  "license": "Apache License 2.0",
10
10
  "peerDependencies": {
11
- "@typescript-eslint/eslint-plugin": "^7.18.0",
12
- "@typescript-eslint/parser": "^7.18.0",
11
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
12
+ "@typescript-eslint/parser": "^8.50.1",
13
13
  "eslint": "^8.57.1",
14
14
  "eslint-config-prettier": "^9.1.0",
15
15
  "eslint-formatter-codeframe": "^7.32.1",
@@ -19,5 +19,5 @@
19
19
  "eslint-plugin-simple-import-sort": "^12.1.1",
20
20
  "eslint-plugin-unicorn": "^56.0.1"
21
21
  },
22
- "gitHead": "eb042e3055f9ab6c64099ed246641cff1855272d"
22
+ "gitHead": "412cd0e0b03008a91b357e076024ee3c81586eb7"
23
23
  }