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

Commit 2058cd0

Browse files
committed
Add coffeelint support
1 parent 887173a commit 2058cd0

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
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

+3
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
"license": "MIT",
1515
"bugs": {
1616
"url": "https://github.com/atom/language-javascript/issues"
17+
},
18+
"devDependencies": {
19+
"coffeelint": "^1.10.1"
1720
}
1821
}

0 commit comments

Comments
 (0)