Skip to content

Commit

Permalink
Merge pull request #46 from adidas/bugfix/align-no-unused-vars
Browse files Browse the repository at this point in the history
ALIGN no unused vars for JavaScript
  • Loading branch information
RecuencoJones committed Feb 19, 2021
2 parents e15f242 + 44475c3 commit 6a88f0d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ This changelog is only to log changes of the project base.
If there are changes on the packages, please, check and update the changelog of each package accordingly.
-->

## 1.9.6

- Updated configuration for `eslint-config-adidas-es5`.

## 1.9.5

- Replaced TravisCI by GitHub Actions
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-linter-configs",
"version": "1.9.5",
"version": "1.9.6",
"description": "adidas configurations for JavaScript linting tools",
"license": "MIT",
"contributors": [
Expand Down
4 changes: 4 additions & 0 deletions packages/eslint-config-adidas-es5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.2

- Updated `no-unused-vars` config to match `@typescript-eslint/no-unused-vars`.

## 1.3.1

- Disabled `require-unicode-regexp`.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-es5/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ module.exports = {
'no-unsafe-optional-chaining': 'off',
'no-unused-expressions': 'off',
'no-unused-labels': 'error',
'no-unused-vars': [ 'error', { vars: 'all', args: 'after-used' }],
'no-unused-vars': [ 'error', { vars: 'all', args: 'after-used', ignoreRestSiblings: true, caughtErrors: 'none' }],
'no-use-before-define': 'off',
'no-useless-backreference': 'error',
'no-useless-call': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-es5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-es5",
"version": "1.3.1",
"version": "1.3.2",
"description": "ESLint base configuration and rules for all JavaScript codebases",
"license": "MIT",
"contributors": [
Expand Down

0 comments on commit 6a88f0d

Please sign in to comment.