Skip to content

Commit

Permalink
Enforce single quotes for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
kabirbaidhya committed Feb 21, 2016
1 parent 57b2383 commit a151c77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"parser": "babel-eslint",
"rules": {
"strict": 0
"strict": 0,
"quotes": [2, "single"]
},
"parserOptions": {
"ecmaVersion": 6,
Expand Down
7 changes: 6 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ var source = require('vinyl-source-stream');

// Lint using eslint
gulp.task('lint', function() {
return gulp.src(['**/*.js','!node_modules/**', '!dist/**'])
return gulp.src([
'**/*.js',
'!dist/**',
'!coverage/**',
'!node_modules/**'
])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
Expand Down

0 comments on commit a151c77

Please sign in to comment.