@kouts/eslint-config 3.1.8 → 3.1.10

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/README.md CHANGED
@@ -114,7 +114,7 @@ Add the following settings to your VS Code project settings for autofix on save:
114
114
  - [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) for using Prettier as a code formatter with `eslint --fix`
115
115
  - [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) for auto-fixing imports order
116
116
  - [eslint-plugin-vitest](https://github.com/vitest-dev/eslint-plugin-vitest) for linting Vitest test files
117
- - [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) for JavaScript import/export checks
117
+ - [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) for import/export checks in JavaScript, TypeScript and Vue files
118
118
 
119
119
  ## Vue-specific Rules
120
120
 
package/dist/index.cjs CHANGED
@@ -235,7 +235,14 @@ const config = (options) => {
235
235
  ...neostandard(opts),
236
236
  {
237
237
  name: "kouts/import-x",
238
- files: ["**/*.js", "**/*.mjs", "**/*.cjs", "**/*.jsx"],
238
+ files: [
239
+ "**/*.js",
240
+ "**/*.mjs",
241
+ "**/*.cjs",
242
+ "**/*.jsx",
243
+ ...opts.ts ? ["**/*.ts", "**/*.tsx"] : [],
244
+ ...opts.vue ? ["**/*.vue"] : []
245
+ ],
239
246
  plugins: {
240
247
  "import-x": importX
241
248
  },
package/dist/index.js CHANGED
@@ -234,7 +234,14 @@ const config = (options) => {
234
234
  ...neostandard(opts),
235
235
  {
236
236
  name: "kouts/import-x",
237
- files: ["**/*.js", "**/*.mjs", "**/*.cjs", "**/*.jsx"],
237
+ files: [
238
+ "**/*.js",
239
+ "**/*.mjs",
240
+ "**/*.cjs",
241
+ "**/*.jsx",
242
+ ...opts.ts ? ["**/*.ts", "**/*.tsx"] : [],
243
+ ...opts.vue ? ["**/*.vue"] : []
244
+ ],
238
245
  plugins: {
239
246
  "import-x": importX
240
247
  },
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@kouts/eslint-config",
3
3
  "type": "module",
4
- "version": "3.1.8",
4
+ "version": "3.1.10",
5
5
  "packageManager": "pnpm@11.27.0",
6
6
  "engines": {
7
- "node": "^22.13.0 || >=24"
7
+ "node": "^22.22.2 || ^24.15.0 || >=26"
8
8
  },
9
9
  "author": "Giannis Koutsaftakis",
10
10
  "license": "MIT",
@@ -85,7 +85,7 @@
85
85
  "eslint-plugin-simple-import-sort": "14.0.0",
86
86
  "eslint-plugin-vue": "10.11.1",
87
87
  "neostandard": "0.14.0-next.1",
88
- "prettier": "3.9.9"
88
+ "prettier": "3.9.10"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@commitlint/cli": "21.2.3",
@@ -93,14 +93,14 @@
93
93
  "@semantic-release/changelog": "^7.0.0",
94
94
  "@semantic-release/git": "^11.0.1",
95
95
  "@types/estree": "1.0.9",
96
- "@types/node": "26.6.3",
97
- "eslint": "10.11.0",
96
+ "@types/node": "26.6.5",
97
+ "eslint": "10.12.0",
98
98
  "husky": "9.1.7",
99
99
  "lint-staged": "17.6.0",
100
100
  "pkgroll": "2.28.1",
101
101
  "semantic-release": "^25.0.9",
102
102
  "typescript": "6.0.3",
103
- "vitest": "5.0.2",
103
+ "vitest": "5.0.3",
104
104
  "vue-eslint-parser": "10.4.1"
105
105
  },
106
106
  "peerDependencies": {