Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* enabled more default rules

  • Loading branch information...
commit eba887fca30ed2289ccdddf3126571fdaba1c36f 1 parent fab7c96
Julien Polo authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/lint/parser.js
  2. +1 −1  package.json
View
6 lib/lint/parser.js
@@ -64,15 +64,15 @@ Parser.CONFIG = {
"eqeqeq": true, // if === should be required
//"es5": true, // if ES5 syntax should be allowed
"evil": false, // if eval should be allowed
- //"forin": false, // if for in statements must filter
+ "forin": false, // if for in statements must filter
//"fragment": false, // if HTML fragments should be allowed
"immed": true, // if immediate invocations must be wrapped in parens
//"laxbreak": false, // if line breaks should not be checked
//"newcap": true, // if constructor names must be capitalized
"nomen": false, // if names should be checked
//"on": false, // if HTML event handlers should be allowed
- //"onevar": true, // if only one var statement per function should be allowed
- //"passfail": false, // if the scan should stop on first error
+ "onevar": true, // if only one var statement per function should be allowed
+ "passfail": false, // if the scan should stop on first error
"plusplus": true, // if increment/decrement should not be allowed
"regexp": true, // if the . should not be allowed in regexp literals
//"rhino": false, // if the Rhino environment globals should be predefined
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "lint",
"description": "This package provide lint validation library + node-lint command line tool allows you to check for problems using JSLint. You can specify your own --config file to use alternate JSLint options and your own --formatter file if you want to customize the generated output.",
- "version": "0.2.1",
+ "version": "0.2.1-2",
"homepage": "https://github.com/as-jpolo/node-lint",
"author": "tav <tav@espians.com> (http://tav.espians.com)",
"contributors": [
Please sign in to comment.
Something went wrong with that request. Please try again.