@nitra/eslint-config 3.8.0 → 3.8.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@nitra/eslint-config` are documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [3.8.1] - 2026-05-04
9
+
10
+ ### Added
11
+
12
+ - Явна декларація `@graphql-tools/code-file-loader` у `dependencies` (раніше використовувався транзитивно).
13
+
14
+ ## [3.8.0] - 2026-05-04
15
+
16
+ ### Added
17
+
18
+ - Заборона `for...in` через `no-restricted-syntax` для `ForInStatement`.
19
+ - Транзитивне підключення `@e18e/eslint-plugin`.
package/README.md CHANGED
@@ -91,6 +91,8 @@ export default [
91
91
 
92
92
  `no-restricted-syntax` із селектором `ForInStatement` забороняє `for...in` у всіх JS-подібних файлах (`.js`, `.mjs`, `.cjs`, `.vue`). Разом із цим зникає потреба в `Object.hasOwn`-guard — він має зникнути з кодом одночасно з `for...in`.
93
93
 
94
+ <!-- eslint-skip -->
95
+
94
96
  ```js
95
97
  // ❌ погано
96
98
  for (const k in obj) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/eslint-config",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "An ESLint shareable config for projects using Vue and Node",
5
5
  "keywords": [
6
6
  "eslint",
@@ -14,6 +14,7 @@
14
14
  "url": "git@github.com:nitra/eslint-config.git"
15
15
  },
16
16
  "files": [
17
+ "CHANGELOG.md",
17
18
  "graphql-eslint-anchor.js",
18
19
  "index.js",
19
20
  "types"
@@ -29,6 +30,7 @@
29
30
  "@eslint/compat": "^2.0.5",
30
31
  "@eslint/js": "^10.0.1",
31
32
  "@graphql-eslint/eslint-plugin": "^4.4.0",
33
+ "@graphql-tools/code-file-loader": "^8.0.0",
32
34
  "@graphql-tools/graphql-tag-pluck": "^8.3.30",
33
35
  "@graphql-tools/utils": "^11.0.1",
34
36
  "@microsoft/eslint-plugin-sdl": "^1.1.0",
@@ -52,6 +54,7 @@
52
54
  "vue-eslint-parser": "^10.4.0"
53
55
  },
54
56
  "engines": {
55
- "node": ">=20.19.0"
57
+ "bun": ">=1.3",
58
+ "node": ">=24"
56
59
  }
57
60
  }