@appium/eslint-config-appium-ts 0.3.0 → 0.3.2

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 +4 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -58,7 +58,10 @@ module.exports = {
58
58
  * want to be replaced with `import()` (I am not sure if there's a rule about that?). **If this check fails**, disable the rule for the particular line.
59
59
  */
60
60
  '@typescript-eslint/no-var-requires': 'error',
61
- // 'no-unused-vars': 'off',
61
+ /**
62
+ * Sometimes we want unused variables to be present in base class method declarations.
63
+ */
64
+ '@typescript-eslint/no-unused-vars': 'warn',
62
65
  /**
63
66
  * Allow native `Promise`s. **This overrides `@appium/eslint-config-appium`.**
64
67
  * @remarks Originally, this was so that we could use [bluebird](https://npm.im/bluebird)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/eslint-config-appium-ts",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Shared ESLint config for Appium projects (TypeScript version)",
5
5
  "keywords": [
6
6
  "eslint",
@@ -29,10 +29,10 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@appium/eslint-config-appium": "^8.0.0",
32
- "@typescript-eslint/eslint-plugin": "^5.5.0",
33
- "@typescript-eslint/parser": "^5.5.0",
32
+ "@typescript-eslint/eslint-plugin": "^5.5.0 || ^6.0.0",
33
+ "@typescript-eslint/parser": "^5.5.0 || ^6.0.0",
34
34
  "eslint": "^8.21.0",
35
- "eslint-config-prettier": "^8.5.0",
35
+ "eslint-config-prettier": "^8.5.0 || ^9.0.0",
36
36
  "eslint-import-resolver-typescript": "^3.5.0",
37
37
  "eslint-plugin-import": "^2.26.0",
38
38
  "eslint-plugin-mocha": "^10.1.0",
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "d514ebdd7ebd27bb236509d0a3d580f0f18a34e5"
48
+ "gitHead": "475198e36b49c820786142ff6e9f5e799926c99b"
49
49
  }