@apify/oxlint-config 0.2.8 → 0.2.10

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 +7 -3
  2. package/package.json +35 -28
package/index.js CHANGED
@@ -86,6 +86,9 @@ const sharedConfig = {
86
86
  // Jest and vitest plugins have some overlapping rules.
87
87
  // Disable the Jest ones and let the Vitest plugin handle them.
88
88
  'jest/expect-expect': 'off',
89
+ 'jest/no-disabled-tests': 'error',
90
+ 'jest/no-conditional-expect': 'error',
91
+ 'jest/no-focused-tests': 'error',
89
92
  'jest/no-standalone-expect': 'off',
90
93
  'jest/valid-describe-callback': 'off',
91
94
  'jest/valid-expect': 'off',
@@ -165,9 +168,9 @@ const sharedConfig = {
165
168
  'typescript/await-thenable': 'off',
166
169
  'typescript/no-floating-promises': 'off',
167
170
  'typescript/no-misused-promises': 'off',
168
- 'jest/no-disabled-tests': 'error',
169
- 'jest/no-conditional-expect': 'error',
170
- 'jest/no-focused-tests': 'error',
171
+ 'vitest/no-disabled-tests': 'error',
172
+ 'vitest/no-conditional-expect': 'error',
173
+ 'vitest/no-focused-tests': 'error',
171
174
  'import/no-default-export': 'off',
172
175
  },
173
176
  },
@@ -175,6 +178,7 @@ const sharedConfig = {
175
178
  files: [
176
179
  '**/vite.config*.{ts,mts,js,mjs}',
177
180
  '**/vitest.config*.{ts,mts,js,mjs}',
181
+ '**/oxlint.config*.{ts,mts,js,mjs}',
178
182
  '**/jest.config*.{js,mjs}',
179
183
  ],
180
184
  rules: { 'import/no-default-export': 'off' },
package/package.json CHANGED
@@ -1,29 +1,36 @@
1
1
  {
2
- "name": "@apify/oxlint-config",
3
- "version": "0.2.8",
4
- "description": "Apify oxlint preset to be shared between projects.",
5
- "repository": {
6
- "url": "https://github.com/apify/apify-oxlint-config"
7
- },
8
- "type": "module",
9
- "main": "index.js",
10
- "types": "./index.d.ts",
11
- "exports": {
12
- ".": {
13
- "types": "./index.d.ts",
14
- "default": "./index.js"
15
- }
16
- },
17
- "files": [
18
- "index.js",
19
- "index.d.ts"
20
- ],
21
- "scripts": {
22
- "test": "echo \"No tests specified\" && exit 0"
23
- },
24
- "peerDependencies": {
25
- "oxlint": "^1.61.0"
26
- },
27
- "author": "Apify team <info@apify.com>",
28
- "license": "Apache-2.0"
29
- }
2
+ "name": "@apify/oxlint-config",
3
+ "version": "0.2.10",
4
+ "description": "Apify oxlint preset to be shared between projects.",
5
+ "repository": {
6
+ "url": "https://github.com/apify/apify-oxlint-config"
7
+ },
8
+ "type": "module",
9
+ "main": "index.js",
10
+ "types": "./index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./index.d.ts",
14
+ "default": "./index.js"
15
+ }
16
+ },
17
+ "files": [
18
+ "index.js",
19
+ "index.d.ts"
20
+ ],
21
+ "peerDependencies": {
22
+ "oxlint": "^1.61.0"
23
+ },
24
+ "author": "Apify team <info@apify.com>",
25
+ "license": "Apache-2.0",
26
+ "devEngines": {
27
+ "packageManager": {
28
+ "name": "pnpm",
29
+ "version": "11.0.9",
30
+ "onFail": "error"
31
+ }
32
+ },
33
+ "scripts": {
34
+ "test": "echo \"No tests specified\" && exit 0"
35
+ }
36
+ }