@tb-dev/eslint-config 3.3.3 → 3.4.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.
package/dist/index.cjs CHANGED
@@ -572,7 +572,9 @@ async function unicorn(options) {
572
572
  "unicorn/no-array-method-this-argument": "error",
573
573
  "unicorn/no-array-push-push": "error",
574
574
  "unicorn/no-await-expression-member": "error",
575
+ "unicorn/no-await-in-promise-methods": "error",
575
576
  "unicorn/no-invalid-remove-event-listener": "error",
577
+ "unicorn/no-single-promise-in-promise-methods": "error",
576
578
  "unicorn/no-thenable": "error",
577
579
  "unicorn/no-typeof-undefined": "off",
578
580
  "unicorn/no-useless-fallback-in-spread": "error",
package/dist/index.js CHANGED
@@ -549,7 +549,9 @@ async function unicorn(options) {
549
549
  "unicorn/no-array-method-this-argument": "error",
550
550
  "unicorn/no-array-push-push": "error",
551
551
  "unicorn/no-await-expression-member": "error",
552
+ "unicorn/no-await-in-promise-methods": "error",
552
553
  "unicorn/no-invalid-remove-event-listener": "error",
554
+ "unicorn/no-single-promise-in-promise-methods": "error",
553
555
  "unicorn/no-thenable": "error",
554
556
  "unicorn/no-typeof-undefined": "off",
555
557
  "unicorn/no-useless-fallback-in-spread": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "3.3.3",
3
+ "version": "3.4.0",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "@typescript-eslint/parser": "^7.5.0",
23
23
  "eslint-config-prettier": "^9.1.0",
24
24
  "eslint-plugin-perfectionist": "^2.7.0",
25
- "eslint-plugin-unicorn": "^51.0.1",
25
+ "eslint-plugin-unicorn": "^52.0.0",
26
26
  "eslint-plugin-vitest": "^0.4.1",
27
27
  "eslint-plugin-vue": "^9.24.0",
28
28
  "globals": "^15.0.0",