@paratco/eslint-config 0.8.4 → 0.8.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paratco/eslint-config",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "author": "Paratco",
@@ -260,5 +260,21 @@ export default {
260
260
  // Disallow type parameters that aren't used multiple times
261
261
  // https://typescript-eslint.io/rules/no-unnecessary-type-parameters
262
262
  // Note: This rule is in the strict rules. But we decided to disable this rule.
263
- "@typescript-eslint/no-unnecessary-type-parameters": ["off"]
263
+ "@typescript-eslint/no-unnecessary-type-parameters": ["off"],
264
+
265
+ // Disallow unused variables.
266
+ // https://typescript-eslint.io/rules/no-unused-vars
267
+ // Note: This rule is in the recommended rules. But we modify it.
268
+ "@typescript-eslint/no-unused-vars": [
269
+ "error",
270
+ {
271
+ args: "all",
272
+ argsIgnorePattern: "^_",
273
+ caughtErrors: "all",
274
+ caughtErrorsIgnorePattern: "^_",
275
+ destructuredArrayIgnorePattern: "^_",
276
+ varsIgnorePattern: "^_",
277
+ ignoreRestSiblings: true
278
+ }
279
+ ]
264
280
  };