Skip to content

Commit 22ea91a

Browse files
committed
Add ptrdecl rules to supported features documentation
1 parent 8b336dd commit 22ea91a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lint/features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ Below are listed the currently supported rules for linting:
88
- SpTernary, `sp_ternary`: spaces around `?` and `:` in ternary conditional expressions
99
- SpBraces, `sp_brace`: spaces around braces (`{` and `}`)
1010
- SpPunct, `sp_punct`: spaces after but not before colon, semicolon and comma
11+
- SpPtrDecl, `sp_ptrdecl`: spaces between a type and the `*` marking a pointer
1112
- NspFunpar, `nsp_funpar`: no spaces between a function/method name and its opening parenthesis
1213
- NspInparen, `nsp_inparen`: no spaces immediately inside parentheses or brackets
1314
- NspUnary, `nsp_unary`: no spaces between a unary operator and its operand
15+
- NspPtrDecl, `nsp_ptrdecl`: no spaces after the `*` marking a pointer in a declaration
1416
- NspTrailing, `nsp_trailing`: no spaces between the last token in a line and the corresponding newline `\n`
1517

1618
## Indentation

0 commit comments

Comments
 (0)