@lvce-editor/eslint-config 1.30.0 → 1.31.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 +4 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -190,7 +190,10 @@ const defaultConfig = tseslint.config(
190
190
  * @type {any}
191
191
  */
192
192
  export const recommendedNode = [
193
- nodePlugin.configs['flat/recommended'],
193
+ {
194
+ files: ['**/*.ts'],
195
+ ...nodePlugin.configs['flat/recommended'],
196
+ },
194
197
  {
195
198
  files: ['**/*.ts'],
196
199
  rules: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "1.30.0",
3
+ "version": "1.31.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -24,13 +24,13 @@
24
24
  "@eslint/json": "^0.10.0",
25
25
  "@eslint/markdown": "^6.2.2",
26
26
  "eslint-plugin-jest": "^28.11.0",
27
- "eslint-plugin-n": "^17.16.1",
28
- "eslint-plugin-package-json": "^0.26.1",
27
+ "eslint-plugin-n": "^17.16.2",
28
+ "eslint-plugin-package-json": "^0.26.2",
29
29
  "eslint-plugin-perfectionist": "^4.9.0",
30
30
  "eslint-plugin-project-structure": "^3.13.2",
31
31
  "eslint-plugin-unicorn": "^57.0.0",
32
32
  "eslint-plugin-yml": "^1.17.0",
33
- "typescript-eslint": "^8.25.0"
33
+ "typescript-eslint": "^8.26.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "eslint": ">= 9"