Skip to content

overload komodo builtin javascript linter with jslint #7

@liucougar

Description

@liucougar

Issues needs to be solved:

  • need to patch komodo/lib/mozilla/python/komodo/{koLintResults.py,koLintResult.py} to expose these two modules as real XPCOMs: add XPCOM written in python to overload these
  • whenever the js linter runs: "WARNING: JavaScript method not called from main thread: lint!"
  • split pref retrieval/saving into a jsm module so the js linter component can access it
  • how to extend the koLintResult (or find some other way) to have extra information so the auto-fix mechanism can still get the raw data of a particular error
  • how to integrate with auto-fix

TODO:

  • implement something like Klint (syntax checker messages on tabbed window)
  • support writing jslint comment (/*global ...*/ and /*jslint ...*/ etc.) into each file

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions