Skip to content

Commit

Permalink
Tweak jshintrc
Browse files Browse the repository at this point in the history
Add some useful options
Remove deprecated ones
Order them alphabetically
  • Loading branch information
stevemao committed Mar 9, 2015
1 parent 17bf42f commit c309c9e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
27 changes: 15 additions & 12 deletions .jshintrc
@@ -1,14 +1,17 @@
{
"node": true,
"esnext": true,
"bitwise": false,
"curly": false,
"eqeqeq": true,
"eqnull": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"undef": true,
"strict": false
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"esnext": true,
"immed": true,
"latedef": true,
"mocha" : true,
"newcap": true,
"noarg": true,
"node": true,
"quotmark": "single",
"strict": true,
"undef": true,
"unused": true
}
13 changes: 5 additions & 8 deletions app/templates/jshintrc
@@ -1,20 +1,17 @@
{
"browser": true,
"esnext": true,
"bitwise": true,
"browser": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"esnext": true,
"immed": true,
"indent": 2,
"jquery": true,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"jquery": true
"undef": true,
"unused": true
}
3 changes: 1 addition & 2 deletions test/test.js
@@ -1,5 +1,4 @@
/*global describe, beforeEach, it*/

'use strict';
var path = require('path');
var assert = require('assert');
var helpers = require('yeoman-generator').test;
Expand Down

0 comments on commit c309c9e

Please sign in to comment.