Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit b55d1ea

Browse files
committed
Add coffeelint support
1 parent 92cfb8d commit b55d1ea

File tree

4 files changed

+43
-1
lines changed

4 files changed

+43
-1
lines changed

.coffeelintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
spec/fixtures

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

coffeelint.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"max_line_length": {
3+
"level": "ignore"
4+
},
5+
"no_empty_param_list": {
6+
"level": "error"
7+
},
8+
"arrow_spacing": {
9+
"level": "error"
10+
},
11+
"no_interpolation_in_single_quotes": {
12+
"level": "error"
13+
},
14+
"no_debugger": {
15+
"level": "error"
16+
},
17+
"prefer_english_operator": {
18+
"level": "error"
19+
},
20+
"colon_assignment_spacing": {
21+
"spacing": {
22+
"left": 0,
23+
"right": 1
24+
},
25+
"level": "error"
26+
},
27+
"braces_spacing": {
28+
"spaces": 0,
29+
"level": "error"
30+
},
31+
"spacing_after_comma": {
32+
"level": "error"
33+
},
34+
"no_stand_alone_at": {
35+
"level": "error"
36+
}
37+
}

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@
77
"node": "*"
88
},
99
"license": "MIT",
10-
"repository": "https://github.com/atom/language-ruby"
10+
"repository": "https://github.com/atom/language-ruby",
11+
"devDependencies": {
12+
"coffeelint": "^1.10.1"
13+
}
1114
}

0 commit comments

Comments
 (0)