@apify/oxlint-config 0.2.4 → 0.2.5

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/index.js +10 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -92,11 +92,21 @@ const sharedConfig = {
92
92
  // would need a type parameter); opt-in per project if desired.
93
93
  // - consistent-each-for, warn-todo, require-local-test-context-for-
94
94
  // concurrent-snapshots: opinion / niche.
95
+ // - valid-describe-callback: false-positive on the
96
+ // `describe(name, options, fn)` API (e.g. `{ retry: 10 }`) — the
97
+ // rule treats the options object as an invalid second argument.
98
+ // - valid-expect: misfires on chai-style assertions used by Cypress
99
+ // (`expect(x).to.be.greaterThan(y)`); the vitest plugin has no
100
+ // notion of chai's `.to.*` modifier chain. Cypress tests live in
101
+ // the same workspaces as vitest tests, so file-glob scoping isn't
102
+ // reliable — disable globally.
95
103
  'vitest/hoisted-apis-on-top': 'off',
96
104
  'vitest/require-mock-type-parameters': 'off',
97
105
  'vitest/consistent-each-for': 'off',
98
106
  'vitest/warn-todo': 'off',
99
107
  'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
108
+ 'vitest/valid-describe-callback': 'off',
109
+ 'vitest/valid-expect': 'off',
100
110
  'typescript/unbound-method': 'off',
101
111
  'typescript/restrict-template-expressions': 'off',
102
112
  'typescript/no-useless-default-assignment': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/oxlint-config",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Apify oxlint preset to be shared between projects.",
5
5
  "repository": {
6
6
  "url": "https://github.com/apify/apify-oxlint-config"