File tree 3 files changed +21
-1
lines changed
3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "esnext" : true ,
3
+ "fileExtensions" : [ " .js" ],
4
+
5
+ "validateLineBreaks" : " LF" ,
6
+ "validateIndentation" : 4 ,
7
+
8
+ "disallowKeywords" : [" with" ],
9
+ "disallowSpacesInsideObjectBrackets" : null ,
10
+ "disallowImplicitTypeConversion" : [" string" ],
11
+
12
+ "excludeFiles" : [
13
+ " bin/**" ,
14
+ " build/**" ,
15
+ " node_modules/**" ,
16
+ " test/**"
17
+ ]
18
+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class Parser extends EventEmitter {
9
9
parser . parseLine ( line ) ;
10
10
} ) ;
11
11
tail . on ( 'error' , function ( data ) {
12
- console . error ( "error:" , data ) ;
12
+ console . error ( "error:" , data ) ;
13
13
} ) ;
14
14
}
15
15
Original file line number Diff line number Diff line change 4
4
"description" : " Utilities for Hearthstone the online card game." ,
5
5
"main" : " hearthstone.js" ,
6
6
"scripts" : {
7
+ "lint" : " jscs ." ,
7
8
"build" : " traceur --dir lib build " ,
8
9
"test" : " mocha --compilers js:mocha-traceur --reporter spec test/*.js"
9
10
},
22
23
"devDependencies" : {
23
24
"chai" : " 1.10.0" ,
24
25
"chai-spies" : " ^0.5.1" ,
26
+ "jscs" : " ^1.11.3" ,
25
27
"mocha" : " ^2.0.1" ,
26
28
"mocha-traceur" : " 2.1.0"
27
29
}
You can’t perform that action at this time.
0 commit comments