Skip to content

Commit

Permalink
Adding extra mocha before and after functions to predef list
Browse files Browse the repository at this point in the history
  • Loading branch information
IamSmith committed Jan 5, 2012
1 parent 7868b2e commit 1c822c3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions jshint-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@
"newcap": true, // constructor names must be capitalized
"eqeqeq": true, // if === should be required
"eqnull": true, // if == null comparisons should be tolerated
"es5": true, // Allow ecma5
"es5": true, // Allow ecma5
"undef": true, // if variables should be declared before used
"devel": true, // if logging globals should be predefined (console, alert, etc
"node": true, // if the Node.js environment globals should be predefined
"node": true, // if the Node.js environment globals should be predefined
"browser": true, // if the standard browser globals should be predefined
"evil": false, // if eval should be allowed
"latedef": false, // if the use before definition should not be tolerated
"nonew": true, // if using `new` for side-effects should be disallowed
"trailing": false, // if trailing whitespace rules apply
"trailing": false, // if trailing whitespace rules apply
"immed": false, // if immediate invocations must be wrapped in parens
"smarttabs": true, // if smarttabs should be tolerated
"smarttabs": true, // if smarttabs should be tolerated
"predef": [
"describe", // Used by mocha
"it" // Used by mocha
"describe", // Used by mocha
"it", // Used by mocha
"before", // Used by mocha
"beforeEach", // Used by mocha
"after", // Used by mocha
"afterEach" // Used by mocha
]
}

0 comments on commit 1c822c3

Please sign in to comment.