File: coffeelint.coffee

Defined in: node_modules/grunt-coffeelint/node_modules/coffeelint/src

Variables Summary

coffeelint =
exports

Coffeelint's namespace. Browserify wrapps this file in a UMD that will set window.coffeelint to exports

coffeelint.VERSION =
packageJSON

The current version of Coffeelint.

ERROR =
'error'

CoffeeLint error levels.

WARN =
'warn'
IGNORE =
'ignore'
_rules =
{}

Method Summary

Method Details

~ (void) extend(destination, sources...)

Patch the source properties onto the destination.

~ (void) defaults(source, defaults)

Patch any missing attributes from defaults to source.

~ (void) difference(a, b)

Helper to remove rules from disabled list

~ (void) mergeDefaultConfig(userConfig)

Merge default and user configuration.

~ (void) coffeelint(source)

~ (void) coffeelint(RuleConstructor, ruleName = void 0)

~ (void) hasSyntaxError(source)

~ (void) coffeelint(source, userConfig = {}, literate = false)

Check the source against the given configuration and return an array of any errors found. An error is an object with the following properties: { rule : 'Name of the violated rule', lineNumber: 'Number of the line that caused the violation', level: 'The error level of the violated rule', message: 'Information about the violated rule', context: 'Optional details about why the rule was violated' }

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: