Skip to content

Commit

Permalink
fix(naming-convention): getters shouldn't be marked mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Jun 22, 2023
1 parent 122bfe8 commit 2b3b11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const settings: Linter.Config = {
trailingUnderscore: "forbid",
},
{
selector: ["classMethod", "typeMethod", "typeProperty"],
selector: ["accessor", "classMethod", "typeMethod", "typeProperty"],
format: ["camelCase", "PascalCase", "UPPER_CASE"],
leadingUnderscore: "allow",
trailingUnderscore: "forbid",
Expand Down

0 comments on commit 2b3b11a

Please sign in to comment.