Skip to content

Commit 2b3b11a

Browse files
fix(naming-convention): getters shouldn't be marked mutable
1 parent 122bfe8 commit 2b3b11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export const settings: Linter.Config = {
152152
trailingUnderscore: "forbid",
153153
},
154154
{
155-
selector: ["classMethod", "typeMethod", "typeProperty"],
155+
selector: ["accessor", "classMethod", "typeMethod", "typeProperty"],
156156
format: ["camelCase", "PascalCase", "UPPER_CASE"],
157157
leadingUnderscore: "allow",
158158
trailingUnderscore: "forbid",

0 commit comments

Comments
 (0)