File tree Expand file tree Collapse file tree 5 files changed +33
-3
lines changed Expand file tree Collapse file tree 5 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "validateIndentation" : 2 ,
3+ "requireSpacesInFunctionExpression" : {
4+ "beforeOpeningCurlyBrace" : true
5+ },
6+ "disallowQuotedKeysInObjects" : true ,
7+ "disallowPaddingNewlinesInBlocks" : true ,
8+ "disallowSpacesInFunctionExpression" : {
9+ "beforeOpeningRoundBrace" : true
10+ },
11+ "disallowMultipleLineStrings" : true ,
12+ "disallowMultipleLineBreaks" : true ,
13+ "disallowMultipleSpaces" : true ,
14+ "requireLineFeedAtFileEnd" : true ,
15+ "requireSemicolons" : true ,
16+ "maximumLineLength" : 120
17+ }
Original file line number Diff line number Diff line change 1+ {
2+ "node" : true ,
3+ "latedef" : true ,
4+ "undef" : true
5+ }
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ var cssLintPlugin = function(options) {
5353 if ( file . isNull ( ) ) return cb ( null , file ) ; // pass along
5454 if ( file . isStream ( ) ) return cb ( new error ( 'gulp-csslint: Streaming not supported' ) ) ;
5555
56- rcLoader . for ( file . path , function ( err , opts ) {
56+ rcLoader . for ( file . path , function ( err , opts ) {
5757 if ( err ) return cb ( err ) ;
5858
5959 var str = file . contents . toString ( 'utf8' ) ;
@@ -122,8 +122,8 @@ cssLintPlugin.reporter = function(customReporter) {
122122 } ) ;
123123} ;
124124
125- cssLintPlugin . failReporter = function ( ) {
126- return es . map ( function ( file , cb ) {
125+ cssLintPlugin . failReporter = function ( ) {
126+ return es . map ( function ( file , cb ) {
127127 // Nothing to report or no errors
128128 if ( ! file . csslint || file . csslint . success ) {
129129 return cb ( null , file ) ;
Original file line number Diff line number Diff line change 1010 "rcloader" : " ^0.1.4"
1111 },
1212 "devDependencies" : {
13+ "jscs" : " ^1.12.0" ,
14+ "jshint" : " ^2.6.3" ,
1315 "mocha" : " ^2.2.1" ,
1416 "should" : " ^5.2.0"
1517 },
1618 "scripts" : {
19+ "lint" : " jscs index.js test/ & jshint index.js test/" ,
20+ "pretest" : " npm run-script lint" ,
1721 "test" : " mocha"
1822 },
1923 "repository" : {
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ../.jshintrc" ,
3+ "mocha" : true
4+ }
You can’t perform that action at this time.
0 commit comments