File tree Expand file tree Collapse file tree 4 files changed +57
-21
lines changed Expand file tree Collapse file tree 4 files changed +57
-21
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "env": {
3+ "node": true
4+ },
5+ "extends": [
6+ "eslint:recommended"
7+ ],
8+ "globals": {
9+ "Promise": true
10+ },
11+ "rules": {
12+ "semi": [
13+ 2,
14+ "never"
15+ ],
16+ "no-cond-assign": [
17+ 2,
18+ "except-parens"
19+ ],
20+ "no-unused-expressions": 2,
21+ "indent": [
22+ 2,
23+ 2,
24+ {
25+ "SwitchCase": 1
26+ }
27+ ],
28+ "comma-style": [
29+ 2,
30+ "first"
31+ ],
32+ "max-len": [
33+ 2,
34+ {
35+ "code": 100,
36+ "ignoreComments": true
37+ }
38+ ],
39+ "new-cap": 2,
40+ "strict": 0,
41+ "no-trailing-spaces": 2,
42+ "no-undef": 2,
43+ "no-unused-vars": 2,
44+ "quotes": [
45+ 2,
46+ "single"
47+ ]
48+ }
49+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44 "description" : " PostCSS gulp plugin" ,
55 "main" : " index.js" ,
66 "scripts" : {
7+ "pretest" : " node-version-gte-4 && eslint index.js || echo \" ESLint not supported\" " ,
78 "test" : " mocha test.js"
89 },
910 "repository" : {
2930 "vinyl-sourcemaps-apply" : " ^0.2.1"
3031 },
3132 "devDependencies" : {
32- "gulp-sourcemaps" : " ^1.11.0" ,
33- "mocha" : " ^3.2.0" ,
34- "proxyquire" : " ^1.7.4" ,
35- "sinon" : " ^1.17.3"
33+ "eslint" : " ^3.19.0" ,
34+ "gulp-sourcemaps" : " ^2.6.0" ,
35+ "mocha" : " ^3.3.0" ,
36+ "node-version-check" : " ^2.1.1" ,
37+ "proxyquire" : " ^1.7.11" ,
38+ "sinon" : " ^2.2.0"
3639 },
3740 "files" : []
3841}
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ describe('PostCSS Guidelines', function () {
366366 }
367367 } ) )
368368 stream . on ( 'data' , function ( ) {
369- assert . deepEqual ( postcssLoadConfigStub . getCall ( 0 ) . args [ 1 ] , __dirname + '/ relative/path')
369+ assert . deepEqual ( postcssLoadConfigStub . getCall ( 0 ) . args [ 1 ] , path . join ( __dirname , ' relative/path') )
370370 cb ( )
371371 } )
372372 stream . end ( new gutil . File ( {
You can’t perform that action at this time.
0 commit comments