Permalink
Browse files

Added lint

  • Loading branch information...
Koen Bok
Koen Bok committed Mar 13, 2013
1 parent bde291d commit cf5d564cf81e9f54424979ecfceda9eed2a770e0
Showing with 48 additions and 2 deletions.
  1. +4 −1 Makefile
  2. +42 −0 lint.config.json
  3. +2 −1 package.json
View
@@ -9,4 +9,7 @@ build:
clean:
rm -rf dist
.PHONY: build clean
lint:
./node_modules/coffeelint/bin/coffeelint -f lint.config.json -r src
.PHONY: build clean lint
View
@@ -0,0 +1,42 @@
{
"no_tabs": {
"level": "ignore"
},
"no_trailing_whitespace": {
"level": "error"
},
"max_line_length": {
"value": 80,
"level": "error"
},
"camel_case_classes": {
"level": "error"
},
"indentation": {
"value": 1,
"level": "error"
},
"no_implicit_braces": {
"level": "ignore"
},
"no_trailing_semicolons": {
"level": "error"
},
"no_plusplus": {
"level": "ignore"
},
"no_throwing_strings": {
"level": "error"
},
"cyclomatic_complexity": {
"value": 11,
"level": "ignore"
},
"line_endings": {
"value": "unix",
"level": "ignore"
},
"no_implicit_parens": {
"level": "ignore"
}
}
View
@@ -10,7 +10,8 @@
"dependencies": {
"underscore": "1.x",
"browserify": "1.x",
"coffee-script": "1.4.x"
"coffee-script": "1.4.x",
"coffeelint": "0.5.x"
},
"license": "MIT"
}

0 comments on commit cf5d564

Please sign in to comment.