Skip to content

Commit

Permalink
Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.2.1 (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 1, 2023
1 parent 9eb3478 commit 7b03e2f
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 118 deletions.
193 changes: 82 additions & 111 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 @@ -18,8 +18,8 @@
"npm": ">=8"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.46.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.28.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/protobuf/src/create-descriptor-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -891,13 +891,13 @@ enum FieldNumber {
FileDescriptorProto_Service = 6,
FileDescriptorProto_Extension = 7,
FileDescriptorProto_Syntax = 12,
DescriptorProto_Field = 2,
DescriptorProto_Field = 2, // eslint-disable-line @typescript-eslint/no-duplicate-enum-values
DescriptorProto_NestedType = 3,
DescriptorProto_EnumType = 4,
DescriptorProto_Extension = 6,
DescriptorProto_EnumType = 4, // eslint-disable-line @typescript-eslint/no-duplicate-enum-values
DescriptorProto_Extension = 6, // eslint-disable-line @typescript-eslint/no-duplicate-enum-values
DescriptorProto_OneofDecl = 8,
EnumDescriptorProto_Value = 2,
ServiceDescriptorProto_Method = 2,
EnumDescriptorProto_Value = 2, // eslint-disable-line @typescript-eslint/no-duplicate-enum-values
ServiceDescriptorProto_Method = 2, // eslint-disable-line @typescript-eslint/no-duplicate-enum-values
}

/**
Expand Down
1 change: 1 addition & 0 deletions packages/protobuf/src/private/json-format-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ function readEnum(
break;
case "string":
const value = type.findName(json);
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
if (value || ignoreUnknownFields) {
return value?.no;
}
Expand Down

0 comments on commit 7b03e2f

Please sign in to comment.