Skip to content

Commit 4f8e566

Browse files
committed
Merge pull request #32 from codeclimate/gd-cc
Add markdownlint
2 parents d61ccdc + 8d56f94 commit 4f8e566

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.codeclimate.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
engines:
2+
markdownlint:
3+
enabled: true
4+
checks:
5+
MD024: # Allow multiple headings of the same name
6+
enabled: false
7+
ratings:
8+
paths:
9+
- README.md

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ project-specific, it should be made in both places. Periodically, projects must
107107
other: "other"
108108
}
109109
```
110+
110111
- Don't use `self` unless required (`self.class` or attribute assignment)
111112
- Don't use redundant braces when passing hash arguments
112113

@@ -229,14 +230,14 @@ DSL methods, it's probably fine.
229230

230231
- Prefer lines no longer than 80 characters
231232

232-
**vimrc**
233+
### vimrc
233234

234235
```vim
235236
set colorcolumn=+1
236237
set textwidth=80
237238
```
238239

239-
**sublime**
240+
### sublime
240241

241242
```
242243
"rulers": [ 80 ]
@@ -250,7 +251,7 @@ set textwidth=80
250251
- No trailing whitespace
251252
- Use 2-space indentation
252253

253-
**vimrc**
254+
### vimrc
254255

255256
```vim
256257
set expandtab

0 commit comments

Comments
 (0)