@apify/oxlint-config 0.2.9 → 0.3.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/index.js +6 -1
- package/package.json +35 -28
package/index.js
CHANGED
|
@@ -69,7 +69,11 @@ const sharedConfig = {
|
|
|
69
69
|
'no-unused-vars': 'off',
|
|
70
70
|
'typescript/no-unused-vars': [
|
|
71
71
|
'error',
|
|
72
|
-
{
|
|
72
|
+
{
|
|
73
|
+
argsIgnorePattern: '^_',
|
|
74
|
+
ignoreRestSiblings: true,
|
|
75
|
+
fix: { imports: 'safe-fix', variables: 'off' },
|
|
76
|
+
},
|
|
73
77
|
],
|
|
74
78
|
'typescript/no-empty-function': 'error',
|
|
75
79
|
'no-empty-function': 'off',
|
|
@@ -178,6 +182,7 @@ const sharedConfig = {
|
|
|
178
182
|
files: [
|
|
179
183
|
'**/vite.config*.{ts,mts,js,mjs}',
|
|
180
184
|
'**/vitest.config*.{ts,mts,js,mjs}',
|
|
185
|
+
'**/oxlint.config*.{ts,mts,js,mjs}',
|
|
181
186
|
'**/jest.config*.{js,mjs}',
|
|
182
187
|
],
|
|
183
188
|
rules: { 'import/no-default-export': 'off' },
|
package/package.json
CHANGED
|
@@ -1,29 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
2
|
+
"name": "@apify/oxlint-config",
|
|
3
|
+
"version": "0.3.0",
|
|
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
|
+
}
|