jslint 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,38 +1,43 @@
1
1
  jslint:
2
2
  options:
3
- adsafe: false # true, if ADsafe rules should be enforced
4
- bitwise: true # true, if bitwise operators should not be allowed
5
- browser: false # true, if the standard browser globals should be predefined
6
- cap: true # true, if upper case HTML should be allowed
7
- continue: true # true, if the continuation statement should be tolerated
8
- css: true # true, if CSS workarounds should be tolerated
9
- debug: true # true, if debugger statements should be allowed
10
- devel: true # true, if logging should be allowed (console, alert, etc.)
11
- eqeqeq: true # Disallow == and !=
12
- es5: true # true, if ES5 syntax should be allowed
13
- evil: true # true, if eval should be allowed
14
- forin: true # true, if for in statements need not filter
15
- fragment: true # true, if HTML fragments should be allowed
16
- indent: 4 # the indentation factor
17
- maxerr: 100 # the maximum number of errors to allow
18
- maxlen: 120 # the maximum length of a source line
19
- newcap: true # true, if constructor names must be capitalized
20
- node: false # true, if Node.js globals should be predefined
21
- nomem: true # true, if names should be checked
22
- on: true # true, if HTML event handlers should be allowed
23
- onevar: true # true, if only one var statement per function should be allowed
24
- passfail: false # true, if the scan should stop on first error
25
- plusplus: true # true, if increment/decrement should not be allowed
26
- regexp: true # true, if the . should not be allowed in regexp literals
27
- rhino: false # true, if the Rhino environment globals should be predefined
28
- undef: true # true, if variables should be declared before used
29
- unparam: true # true, if unused parameters should be tolerated
30
- safe: true # true, if use of some browser features should be restricted
31
- strict: true # true, require the 'use strict'; pragma
32
- sub: true # true, if all forms of subscript notation are tolerated
33
- white: true # true, if strict whitespace rules apply
34
- widget: false # true if the Yahoo Widgets globals should be predefined
35
- windows: false # true, if MS Windows-specific globals should be predefined
3
+ anon: false # true, if the space may be omitted in anonymous function declarations
4
+ bitwise: false # true, if bitwise operators should be allowed
5
+ cap: false # true, if upper case HTML should be allowed
6
+ continue: false # true, if the continuation statement should be tolerated
7
+ css: false # true, if CSS workarounds should be tolerated
8
+ debug: false # true, if debugger statements should be allowed
9
+ eqeq: true # true, if == should be allowed
10
+ es5: false # true, if ES5 syntax should be allowed
11
+ evil: false # true, if eval should be allowed
12
+ forin: false # true, if for in statements need not filter
13
+ fragment: false # true, if HTML fragments should be allowed
14
+ forvar: false # true, if for(var i ....) construction should be allowed
15
+ newcap: false # true, if constructor names capitalization is ignored
16
+ node: false # true, if Node.js globals should be predefined
17
+ nomen: true # true, if names may have dangling _
18
+ on: false # true, if HTML event handlers should be allowed
19
+ plusplus: true # true, if increment/decrement should be allowed
20
+ properties: false # true, if all property names must be declared with /*properties*/
21
+ regexp: false # true, if the . should be allowed in regexp literals
22
+ undef: true # true, if variables can be declared out of order
23
+ unparam: false # true, if unused parameters should be tolerated
24
+ sloppy: true # true, if the 'use strict'; pragma is optional
25
+ stupid: false # true, if really stupid practices are tolerated
26
+ sub: false # true, if all forms of subscript notation are tolerated
27
+ vars: true # true, if multiple var statements per function should be allowed
28
+ white: true # true, if sloppy whitespace is tolerated
29
+
30
+ maxlen: 150 # the maximum length of a source line
31
+ indent: 2 # the indentation factor
32
+ maxerr: 50 # the maximum number of errors to allow
33
+ passfail: true # true, if the scan should stop on first error
34
+
35
+ # following are relevant only if undef = false
36
+ browser: false # true, if the standard browser globals should be predefined
37
+ rhino: false # true, if the Rhino environment globals should be predefined
38
+ windows: false # true, if MS Windows-specific globals should be predefined
39
+ widget: false # true if the Yahoo Widgets globals should be predefined
40
+ devel: false # true, if logging should be allowed (console, alert, etc.)
36
41
 
37
42
  predefined:
38
43
  # list of predefined elements, comma separated
@@ -42,3 +47,4 @@ jslint:
42
47
  scan:
43
48
  include:
44
49
  - 'public/javascripts/**/*.js'
50
+ - 'app/assets/javascripts/**/*.js'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jslint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-23 00:00:00.000000000Z
12
+ date: 2012-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70244897080280 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,12 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70244897080280
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  description: This gem provides an easy way to use jslint with your programs. It comes
26
31
  with rhino and it will use nodes.js if it is present.
27
32
  email: geraud@gmail.com
@@ -76,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
81
  version: '0'
77
82
  requirements: []
78
83
  rubyforge_project:
79
- rubygems_version: 1.8.11
84
+ rubygems_version: 1.8.24
80
85
  signing_key:
81
86
  specification_version: 3
82
87
  summary: Wrapping of jslint