Sha256: a2d0b3775148634f46d0e8561b09caa98fc9074518fe963e423f4c06179b9e11

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

jslint:
  options:
    passfail: false  # Stop on first error
    white: true     # Strict white space
    browser: true   # Assume browser
    devel: true     # Allow console, alert, ...
    widget: true    # Assume Yahoo! widget
    windows: true   # Assume windows
    safe: true      # Safe subset
    adsafe: true    # Ad safe

    debug: true     # Tolerate debugger statements
    evil: true      # Tolerate eval
    laxbreak: true  # Tolerate sloppy line breaking
    forin: true     # Tolerate unfiltered for in
    sub: true       # Tolerate inefficient subscripting
    css: true       # Tolerate CSS workarounds
    cap: true       # Tolerate HTML case
    on: true        # Tolerate HTML event handlers
    fragment: true  # Tolerate HTML fragments
    es5: true       # Tolerate ES5 syntax

    onevar: true    # Allow one var statement per function
    undef: true     # Disallow undefined variables
    nomem: true     # Disallow dangling _ in identifiers
    eqeqeq: true    # Disallow == and !=
    plusplus: true  # Disallow ++ and --
    bitwise: true   # Disallow bitwise operators
    regexp: true    # Disallow insecure . and [^...] in /RegExp/
    newcap: true    # Require Initial Caps for constructors
    immed: true     # Require parens around immediate invocations
    strict: true    # Require "use strict";

    indent: 2       # Strict white space indentation
    maxlen: 120     # Maximum line length
    maxerr: 50      # Maximum number of errors

  predefined:
    # list of predefined elements, comma separated
    - "$, $$, $w, $h, $r, $a, $f, prototype, object, effect, event, element, class, form, hash, ajax, try"

scan:
  include:
  - 'public/javascripts/**/*.js'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jslint-1.0.5 lib/generators/jslint/update_config/templates/jslint.yml
jslint-1.0.4 lib/generators/jslint/update_config/templates/jslint.yml
jslint-1.0.1 lib/generators/jslint/update_config/templates/jslint.yml
jslint-1.0.0 lib/generators/jslint/update_config/templates/jslint.yml