10000 docs(eslint-plugin): explicit-member-accessibility (#1409) · alex-dow/typescript-eslint@aee7238 · GitHub
[go: up one dir, main page]

Skip to content

Commit aee7238

Browse files
G-Rathbradzacher
authored andcommitted
docs(eslint-plugin): explicit-member-accessibility (typescript-eslint#1409)
1 parent 40d9127 commit aee7238

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/eslint-plugin/docs/rules/explicit-member-accessibility.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ If you are working on a codebase within which you lint non-TypeScript code (i.e.
5959

6060
### `accessibility`
6161

62-
This rule in it's default state requires no configuration and will enforce that every class member has an accessibility modifier. If you would like to allow for some implicit public members then you have the following options:
63-
A possible configuration could be:
62+
This rule in its default state requires no configuration and will enforce that every class member has an accessibility modifier. If you would like to allow for some implicit public members then you have the following options:
6463

6564
```ts
6665
{
@@ -75,6 +74,8 @@ A possible configuration could be:
7574
}
7675
```
7776

77+
Note the above is an example of a possible configuration you could use - it is not the default configuration.
78+
7879
The following patterns are considered incorrect code if no options are provided:
7980

8081
```ts

0 commit comments

Comments
 (0)
0