@epic-web/config 1.18.0 → 1.18.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.
Files changed (2) hide show
  1. package/eslint.js +6 -2
  2. package/package.json +1 -1
package/eslint.js CHANGED
@@ -292,7 +292,6 @@ export const config = [
292
292
  vitest: (await import('@vitest/eslint-plugin')).default,
293
293
  },
294
294
  rules: {
295
- 'vitest/expect-expect': ERROR,
296
295
  // you don't want the editor to autofix this, but we do want to be
297
296
  // made aware of it
298
297
  'vitest/no-focused-tests': [WARN, { fixable: false }],
@@ -305,6 +304,9 @@ export const config = [
305
304
  'vitest/prefer-to-have-length': ERROR,
306
305
  'vitest/valid-expect-in-promise': ERROR,
307
306
  'vitest/valid-expect': ERROR,
307
+
308
+ // vitest/expect-expect - we don't enable this because it's fine to
309
+ // rely on testing-library to throw errors if elements aren't found.
308
310
  },
309
311
  }
310
312
  : null,
@@ -317,7 +319,6 @@ export const config = [
317
319
  playwright: (await import('eslint-plugin-playwright')).default,
318
320
  },
319
321
  rules: {
320
- 'playwright/expect-expect': ERROR,
321
322
  'playwright/max-nested-describe': ERROR,
322
323
  'playwright/missing-playwright-await': ERROR,
323
324
  'playwright/no-focused-test': WARN,
@@ -336,6 +337,9 @@ export const config = [
336
337
  'playwright/prefer-web-first-assertions': ERROR,
337
338
  'playwright/valid-expect-in-promise': ERROR,
338
339
  'playwright/valid-expect': ERROR,
340
+
341
+ // playwright/expect-expect - we don't enable this because it's fine to
342
+ // rely on thrown errors if elements aren't found.
339
343
  },
340
344
  }
341
345
  : null,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.18.0",
7
+ "version": "1.18.1",
8
8
  "description": "Reasonable ESLint configs for epic web devs",
9
9
  "main": "index.js",
10
10
  "type": "module",