setup shared jshint config, ignores, and git ignores.

This commit is contained in:
Spencer Alger
2013-09-12 14:30:26 -07:00
parent c3b2f0da73
commit 1b118c2f04
4 changed files with 37 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

2
.jshintingore Normal file
View File

@ -0,0 +1,2 @@
node_modules/*
dist/*

32
.jshintrc Normal file
View File

@ -0,0 +1,32 @@
{
"browser": true,
"bitwise":false,
"curly": true,
"eqnull": true,
"globalstrict": true,
"devel": true,
"eqeqeq": true,
"forin": false,
"immed": true,
"supernew": true,
"expr": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"undef": true,
"boss": true,
"trailing": false,
"laxbreak": true,
"laxcomma": true,
"sub": true,
"maxlen": 140,
"globals": {
"define": true,
"require": true
}
}

View File

@ -1,3 +1,4 @@
/* jshint node:true */
'use strict'; 'use strict';
module.exports = function (grunt) { module.exports = function (grunt) {