Skip to content

Commit

Permalink
docs(eslint-plugin): explicit-member-accessibility (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored and bradzacher committed Jan 7, 2020
1 parent 40d9127 commit aee7238
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -59,8 +59,7 @@ If you are working on a codebase within which you lint non-TypeScript code (i.e.

### `accessibility`

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:
A possible configuration could be:
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:

```ts
{
Expand All @@ -75,6 +74,8 @@ A possible configuration could be:
}
```

Note the above is an example of a possible configuration you could use - it is not the default configuration.

The following patterns are considered incorrect code if no options are provided:

```ts
Expand Down

0 comments on commit aee7238

Please sign in to comment.