Skip to content

Commit 2b2224b

Browse files
authored
docs(eslint-plugin): [explicit-member-accessibility] Add an example (typescript-eslint#2599)
1 parent d78ae54 commit 2b2224b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ class Animal {
258258
class Animal {
259259
constructor(public animalName: string) {}
260260
}
261+
262+
class Animal {
263+
constructor(animalName: string) {}
264+
}
261265
```
262266

263267
e.g. `[ { accessibility: 'off', overrides: { parameterProperties: 'no-public' } } ]`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy