@peerigon/configs 5.5.0 → 6.0.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 CHANGED
@@ -1,3 +1,19 @@
1
+ ## [6.0.1](https://github.com/peerigon/configs/compare/v6.0.0...v6.0.1) (2025-05-02)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **eslint:** Allow await in loops in tests ([5f7da87](https://github.com/peerigon/configs/commit/5f7da87275958ae1e5e82dfaa66b9fbfe684e374))
6
+
7
+ # [6.0.0](https://github.com/peerigon/configs/compare/v5.5.0...v6.0.0) (2025-04-30)
8
+
9
+ ### Features
10
+
11
+ - **eslint:** bump eslint-plugin-unicorn from 58.0.0 to 59.0.0 ([#66](https://github.com/peerigon/configs/issues/66)) ([ca94ee9](https://github.com/peerigon/configs/commit/ca94ee9e45d4823bbb59b8957d57d6cd059776cb))
12
+
13
+ ### BREAKING CHANGES
14
+
15
+ - **eslint:** See https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v59.0.0
16
+
1
17
  # [5.5.0](https://github.com/peerigon/configs/compare/v5.4.0...v5.5.0) (2025-04-28)
2
18
 
3
19
  ### Features
@@ -26,6 +26,7 @@ export const javascript = [
26
26
  "unicorn/prefer-global-this": "off", // Too many false positives
27
27
  "unicorn/prefer-ternary": "off",
28
28
  "unicorn/require-array-join-separator": "off",
29
+ "unicorn/prefer-import-meta-properties": "error",
29
30
  },
30
31
  },
31
32
  {
@@ -143,6 +144,8 @@ export const javascript = [
143
144
  "unicorn/prefer-top-level-await": "off",
144
145
  // Nesting is pretty common in tests when you group tests
145
146
  "max-nested-callbacks": "off",
147
+ // await in loops is pretty common in Playwright tests
148
+ "no-await-in-loop": "off",
146
149
  // In case you want to test errors thrown by a constructor
147
150
  "no-new": "off",
148
151
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerigon/configs",
3
- "version": "5.5.0",
3
+ "version": "6.0.1",
4
4
  "description": "Configs for ESLint, Prettier, TypeScript & friends",
5
5
  "keywords": [
6
6
  "eslint",
@@ -82,7 +82,7 @@
82
82
  "eslint-plugin-react-compiler": "^19.0.0-beta-714736e-20250131",
83
83
  "eslint-plugin-react-hooks": "^5.2.0",
84
84
  "eslint-plugin-react-refresh": "^0.4.19",
85
- "eslint-plugin-unicorn": "^58.0.0",
85
+ "eslint-plugin-unicorn": "^59.0.0",
86
86
  "globals": "^16.0.0",
87
87
  "prettier-plugin-css-order": "^2.1.2",
88
88
  "prettier-plugin-jsdoc": "^1.3.2",