@@ -1,4 +1,6 @@
{
+ "esnext": true,
+
"requireCurlyBraces": [
"if", "else", "for", "while", "do", "switch", "try", "catch"
],
"immed": true,
"latedef": "nofunc",
"noarg": true,
@@ -7,7 +7,7 @@ var tools = require( './utils/tools' );
module.exports = function( grunt ) {
tools.setupMultitaskConfig( grunt, {
task: 'jscs',
- defaultOptions: grunt.file.readJSON( 'dev/tasks/jscs-config.json' ),
+ defaultOptions: grunt.file.readJSON( '.jscsrc' ),
addGitIgnore: 'excludeFiles',
targets: {
all: function() {
task: 'jshint',
- defaultOptions: grunt.file.readJSON( 'dev/tasks/jshint-config.json' ),
+ defaultOptions: grunt.file.readJSON( '.jshintrc' ),
addGitIgnore: 'ignores',
@@ -22,9 +22,9 @@
"benderjs-sinon": "^0.2.3",
"del": "^1.2.0",
"grunt": "^0",
+ "grunt-jscs": "^2.0.0",
"grunt-contrib-jshint": "^0",
"grunt-githooks": "^0",
- "grunt-jscs": "^2.0.0",
"ncp": "^2.0.0",
"replace": "^0.3.0",
"shelljs": "^0"