@lvce-editor/eslint-config 1.37.0 → 1.39.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.js +2 -1
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -96,6 +96,7 @@ const defaultConfig = tseslint.config(
96
96
  '@typescript-eslint/prefer-readonly-parameter-types': 'error',
97
97
  'no-console': ['error', { allow: ['warn', 'error'] }],
98
98
  'prefer-destructuring': ['error', { object: true, array: false }],
99
+ '@typescript-eslint/no-deprecated': 'error',
99
100
 
100
101
  // off
101
102
  '@typescript-eslint/no-explicit-any': 'off',
@@ -134,7 +135,7 @@ const defaultConfig = tseslint.config(
134
135
  },
135
136
  {
136
137
  files: ['**/*.ts'],
137
- ...eslintPluginUnicorn.configs['flat/recommended'],
138
+ ...eslintPluginUnicorn.configs.recommended,
138
139
  },
139
140
  {
140
141
  files: ['**/*.ts'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "1.37.0",
3
+ "version": "1.39.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -19,18 +19,18 @@
19
19
  "homepage": "https://github.com/lvce-editor/eslint-config#readme",
20
20
  "description": "",
21
21
  "dependencies": {
22
- "@eslint/css": "0.6.0",
23
- "@eslint/js": "9.24.0",
24
- "@eslint/json": "0.11.0",
25
- "@eslint/markdown": "6.3.0",
22
+ "@eslint/css": "0.7.0",
23
+ "@eslint/js": "9.25.1",
24
+ "@eslint/json": "0.12.0",
25
+ "@eslint/markdown": "6.4.0",
26
26
  "eslint-plugin-jest": "28.11.0",
27
27
  "eslint-plugin-n": "17.17.0",
28
- "eslint-plugin-package-json": "0.29.0",
29
- "eslint-plugin-perfectionist": "4.11.0",
28
+ "eslint-plugin-package-json": "0.30.0",
29
+ "eslint-plugin-perfectionist": "4.12.3",
30
30
  "eslint-plugin-project-structure": "3.13.3",
31
31
  "eslint-plugin-unicorn": "58.0.0",
32
- "eslint-plugin-yml": "1.17.0",
33
- "typescript-eslint": "8.29.0"
32
+ "eslint-plugin-yml": "1.18.0",
33
+ "typescript-eslint": "8.31.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "eslint": ">= 9"