Skip to content

Commit c82bd75

Browse files
committed
added CommentedOutCode check
1 parent a88fb83 commit c82bd75

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

_data/haxe-checkstyle/haxe-checkstyle_sidebar.yml

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ entries:
141141
- title: Comments
142142
output: web
143143
items:
144+
- title: Commented Out Code
145+
url: /haxe-checkstyle/commentedoutcode.html
146+
output: web
147+
144148
- title: Doc Comment Style
145149
url: /haxe-checkstyle/doccommentstyle.html
146150
output: web

haxe-checkstyle/commentedoutcode.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Commented Out Code
3+
toc: false
4+
---
5+
6+
Checks sections of commented out code
7+
8+
### Configuration
9+
10+
```json
11+
{
12+
"type": "CommentedOutCode",
13+
"props": {
14+
"severity": "INFO"
15+
}
16+
}
17+
```

0 commit comments

Comments
 (0)