@appium/eslint-config-appium-ts 3.2.2 → 3.2.3
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.mjs +7 -13
- package/package.json +7 -7
package/index.mjs
CHANGED
|
@@ -40,7 +40,7 @@ export default defineConfig([
|
|
|
40
40
|
n: nodePlugin,
|
|
41
41
|
perfectionist,
|
|
42
42
|
promise: pluginPromise,
|
|
43
|
-
unicorn
|
|
43
|
+
unicorn,
|
|
44
44
|
},
|
|
45
45
|
extends: [
|
|
46
46
|
'js/recommended',
|
|
@@ -55,7 +55,7 @@ export default defineConfig([
|
|
|
55
55
|
project: ['tsconfig.json', './packages/*/tsconfig.json'],
|
|
56
56
|
// TODO: remove this once we have single tsconfig with references
|
|
57
57
|
noWarnOnMultipleProjects: true,
|
|
58
|
-
})
|
|
58
|
+
}),
|
|
59
59
|
],
|
|
60
60
|
jsdoc: {
|
|
61
61
|
mode: 'typescript',
|
|
@@ -163,14 +163,14 @@ export default defineConfig([
|
|
|
163
163
|
'promise/param-names': 'warn',
|
|
164
164
|
|
|
165
165
|
'arrow-body-style': 'warn',
|
|
166
|
-
|
|
166
|
+
curly: 'error',
|
|
167
167
|
'dot-notation': 'error',
|
|
168
|
-
|
|
168
|
+
eqeqeq: ['error', 'smart'],
|
|
169
169
|
'no-console': 'error',
|
|
170
170
|
'no-empty': 'off',
|
|
171
171
|
'no-prototype-builtins': 'warn',
|
|
172
172
|
'object-shorthand': 'error',
|
|
173
|
-
|
|
173
|
+
radix: 'error',
|
|
174
174
|
'require-atomic-updates': 'off',
|
|
175
175
|
/**
|
|
176
176
|
* Allow `async` functions without `await`.
|
|
@@ -216,7 +216,7 @@ export default defineConfig([
|
|
|
216
216
|
},
|
|
217
217
|
},
|
|
218
218
|
],
|
|
219
|
-
}
|
|
219
|
+
},
|
|
220
220
|
},
|
|
221
221
|
|
|
222
222
|
{
|
|
@@ -278,11 +278,5 @@ export default defineConfig([
|
|
|
278
278
|
},
|
|
279
279
|
},
|
|
280
280
|
fs.existsSync(gitignorePath) ? includeIgnoreFile(gitignorePath) : {},
|
|
281
|
-
globalIgnores([
|
|
282
|
-
'**/.*',
|
|
283
|
-
'**/*-d.ts',
|
|
284
|
-
'**/*.min.js',
|
|
285
|
-
'**/build/**',
|
|
286
|
-
'**/coverage/**',
|
|
287
|
-
]),
|
|
281
|
+
globalIgnores(['**/.*', '**/*-d.ts', '**/*.min.js', '**/build/**', '**/coverage/**']),
|
|
288
282
|
]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/eslint-config-appium-ts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.3",
|
|
5
5
|
"description": "Shared ESLint config for Appium projects (TypeScript version)",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"@eslint/js": "10.0.1",
|
|
34
34
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
35
35
|
"eslint-config-prettier": "10.1.8",
|
|
36
|
-
"eslint-import-resolver-typescript": "4.4.
|
|
36
|
+
"eslint-import-resolver-typescript": "4.4.5",
|
|
37
37
|
"eslint-plugin-import-x": "4.16.2",
|
|
38
|
-
"eslint-plugin-jsdoc": "63.0.
|
|
38
|
+
"eslint-plugin-jsdoc": "63.0.2",
|
|
39
39
|
"eslint-plugin-mocha": "11.3.0",
|
|
40
|
-
"eslint-plugin-n": "18.0
|
|
40
|
+
"eslint-plugin-n": "18.1.0",
|
|
41
41
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
42
42
|
"eslint-plugin-promise": "7.3.0",
|
|
43
|
-
"eslint-plugin-unicorn": "
|
|
44
|
-
"typescript-eslint": "8.
|
|
43
|
+
"eslint-plugin-unicorn": "65.0.1",
|
|
44
|
+
"typescript-eslint": "8.61.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"eslint": "^9.0.0 || ^10.0.0"
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "213efd0fa400bdd0156b00ad2c45f8ef005a01ca"
|
|
57
57
|
}
|