Skip to content

Commit

Permalink
feat(deps): bump @typescript-eslint/eslint-plugin from 6.18.1 to 6.20…
Browse files Browse the repository at this point in the history
….0 (#1292)

* build(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.18.1 to 6.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(typescript): turn on new rules `no-array-delete` and `prefer-promise-reject-errors`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and ybiquitous authored Feb 1, 2024
1 parent b250ca6 commit c2dff17
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 63 deletions.
122 changes: 61 additions & 61 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@eslint/eslintrc": "^3.0.0",
"@tsconfig/node16": "^16.1.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"eslint": "^8.56.0",
"eslint-find-rules": "^4.1.0",
"prettier": "^3.2.4",
Expand All @@ -47,7 +47,7 @@
"ybiq": "^17.2.0"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=6.18.0",
"@typescript-eslint/eslint-plugin": ">=6.19.0",
"eslint": ">=8.50.0"
},
"peerDependenciesMeta": {
Expand Down
3 changes: 3 additions & 0 deletions rules/plugins/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = {
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/method-signature-style": "error",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-array-delete": "error",
"@typescript-eslint/no-base-to-string": "error",
"@typescript-eslint/no-confusing-non-null-assertion": "error",
"@typescript-eslint/no-confusing-void-expression": [
Expand Down Expand Up @@ -111,6 +112,8 @@ module.exports = {
"@typescript-eslint/prefer-namespace-keyword": "warn",
"@typescript-eslint/prefer-nullish-coalescing": "warn",
"@typescript-eslint/prefer-optional-chain": "warn",
"prefer-promise-reject-errors": "off",
"@typescript-eslint/prefer-promise-reject-errors": "error", // eslint-disable-line sort-keys
"@typescript-eslint/prefer-readonly": "warn",
"@typescript-eslint/prefer-readonly-parameter-types": "warn",
"@typescript-eslint/prefer-reduce-type-parameter": "warn",
Expand Down

0 comments on commit c2dff17

Please sign in to comment.