@appium/eslint-config-appium-ts 3.1.0 → 3.2.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.mjs +11 -0
- package/package.json +6 -6
package/index.mjs
CHANGED
|
@@ -102,6 +102,17 @@ export default defineConfig([
|
|
|
102
102
|
* @remarks This is disabled because I need someone to explain to me why empty functions are bad. I suppose they _could_ be bugs, but so could literally any line of code.
|
|
103
103
|
*/
|
|
104
104
|
'@typescript-eslint/no-empty-function': 'off',
|
|
105
|
+
/**
|
|
106
|
+
* Warn when type-only imports are not explicitly marked with `type`.
|
|
107
|
+
* @example `import type {Foo} from './foo'`
|
|
108
|
+
*/
|
|
109
|
+
'@typescript-eslint/consistent-type-imports': [
|
|
110
|
+
'warn',
|
|
111
|
+
{
|
|
112
|
+
prefer: 'type-imports',
|
|
113
|
+
fixStyle: 'separate-type-imports',
|
|
114
|
+
},
|
|
115
|
+
],
|
|
105
116
|
/**
|
|
106
117
|
* Empty interfaces are allowed.
|
|
107
118
|
* @remarks This is because empty interfaces have a use case in declaration merging. Otherwise,
|
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.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"description": "Shared ESLint config for Appium projects (TypeScript version)",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@eslint/compat": "2.0.5",
|
|
33
|
-
"@eslint/js": "
|
|
33
|
+
"@eslint/js": "10.0.1",
|
|
34
34
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
35
35
|
"eslint-config-prettier": "10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"eslint-plugin-mocha": "11.2.0",
|
|
40
40
|
"eslint-plugin-n": "17.24.0",
|
|
41
41
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
42
|
-
"eslint-plugin-promise": "7.
|
|
42
|
+
"eslint-plugin-promise": "7.3.0",
|
|
43
43
|
"eslint-plugin-unicorn": "64.0.0",
|
|
44
|
-
"typescript-eslint": "8.
|
|
44
|
+
"typescript-eslint": "8.59.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"eslint": "^9.0.0"
|
|
47
|
+
"eslint": "^9.0.0 || ^10.0.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "915d767085c6b40ae90b7592d5130c76414ca3b5"
|
|
57
57
|
}
|