@appium/eslint-config-appium-ts 3.2.0 → 3.2.1

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.mjs +9 -0
  2. package/package.json +2 -2
package/index.mjs CHANGED
@@ -179,6 +179,15 @@ export default defineConfig([
179
179
  * `return await somePromise` have their own use-cases.
180
180
  */
181
181
  'require-await': 'off',
182
+
183
+ /**
184
+ * These rules are enabled by default since ESLint 10.
185
+ * They are set to 'warn' to prevent a breaking change.
186
+ */
187
+ 'no-unassigned-vars': 'warn',
188
+ 'no-useless-assignment': 'warn',
189
+ 'preserve-caught-error': 'warn',
190
+
182
191
  'unicorn/prefer-node-protocol': 'warn',
183
192
 
184
193
  /**
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.0",
4
+ "version": "3.2.1",
5
5
  "description": "Shared ESLint config for Appium projects (TypeScript version)",
6
6
  "keywords": [
7
7
  "eslint",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "915d767085c6b40ae90b7592d5130c76414ca3b5"
56
+ "gitHead": "fd6dbe9eff4b52bd5436811ae71b0425c0ebfff4"
57
57
  }