diff --git a/CHANGELOG.md b/CHANGELOG.md index 19a6035..3fa0b76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.5.2 (January 9, 2020) + +- Add `varsIgnorePattern` to `@typescript-eslint/no-unused-vars` rule + ## 0.5.1 (November 27, 2019) - Disable `unicorn/catch-error-name` rule diff --git a/index.js b/index.js index a9f66ac..89b4f3a 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ module.exports = { '@typescript-eslint/explicit-function-return-type': 'error', '@typescript-eslint/no-array-constructor': 'warn', '@typescript-eslint/no-namespace': 'error', - '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_+' }] + '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_+', varsIgnorePattern: '^_+' }] // enable this once typescript-eslint 2.9.0 is released // '@typescript-eslint/prefer-optional-chain': 'warn' diff --git a/package.json b/package.json index 62f88e0..b321331 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-neo", - "version": "0.5.1", + "version": "0.5.2", "description": "Official Neo Financial ESLint configuration", "main": "index.js", "author": "Neo Financial Engineering ",