Skip to content

Commit 46e7598

Browse files
namseajafff
authored andcommitted
Support accessor option for naming convention (#129)
* Support accessor option for naming convention * Make accessor inherit member
1 parent 64df099 commit 46e7598

File tree

6 files changed

+3869
-6
lines changed

6 files changed

+3869
-6
lines changed

docs/naming-convention.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ After filtering the formatting rules are reduced from the first to the last. Rem
122122
* `private`, `protected` or `public`
123123
* `static`
124124
* `const` == `readonly` // can be used interchangeably. internally both are handled as `const`
125-
* `abstract` // for abstract property accessors
125+
* `abstract`
126126

127127
#### parameterProperty
128128

@@ -195,6 +195,15 @@ After filtering the formatting rules are reduced from the first to the last. Rem
195195
* `const`
196196
* `export`
197197

198+
#### accessor
199+
200+
* Scope: all accessors (get, set)
201+
* Extends: `member`
202+
* Valid modifiers:
203+
* `private`, `protected` or `public`
204+
* `static`
205+
* `abstract`
206+
198207
### Examples
199208

200209
Here you see an example of how everything explained above works together. This is the configuration used in this project.

0 commit comments

Comments
 (0)