Skip to content
angelozerr edited this page May 29, 2015 · 15 revisions

Validation Rules

The following screenshots use CodeMirror as editor and the CodeMirror addon tern-lint.js to display validation markers coming from the tern lint.js plugin.

If you want to use tern lint.js plugin with other editor (like Eclipse IDE, Emacs, etc), please read Editors page.

Property validation rules

Unknown property

CodeMirror & Unknown Property

Property is not a function

CodeMirror & Not a function

Identifier validation rules

Unknown Identifier

CodeMirror & Unknown Identifier

Function argument rules

Invalid argument

CodeMirror & Invalid Argument

Invalid regular expression

CodeMirror & Invalid RegExp

Unused declaration validation rules

Unused variable

CodeMirror & Unused variable

Unused function

CodeMirror & Unused function