question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement formatter similar to JSCS default reporter

See original GitHub issue

The default JSCS reporter includes the context of the code and an indicator to the specific character which is causing the violation. With JSCS joining ESLint, that’s the one JSCS feature I’d miss (and love to see added to ESLint).

As an example, it can look something like this:

All identifiers must be camelCase or UPPER_CASE at C:\inetpub\wwwroot\site.local\JavaScript\BaseLocator.js :
    66 |        this._noLocationSpan = value;
    67 |    },
    68 |    get_instructionSpan: function() {
------------^
    69 |        return this._instructionSpan;
    70 |    },

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:24 (19 by maintainers)

github_iconTop GitHub Comments

4reactions
ilyavolodincommented, Sep 30, 2016

@vitorbal 👍 on proposed enhancements

3reactions
qfoxcommented, Oct 20, 2016

Would be great to have line and column in the filename link to use cmd+click behaviour

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview - JSCS
--reporter ( -r )​​ jscs itself provides eight reporters: checkstyle , console , inline , inlinesingle , junit , text , unix and...
Read more >
Formatters and Reporters — behave 1.2.6 documentation
Formatters and Reporters¶. behave provides 2 different concepts for reporting results of a test run: formatters; reporters. A slightly different interface ...
Read more >
A Comparison of JavaScript Linting Tools - SitePoint
JSCS is different from the others in that it doesn't do anything unless you give it a configuration file or tell it to...
Read more >
Formatters - ESLint - Pluggable JavaScript Linter
Outputs JSON-serialized results. The json formatter is useful when you want to programmatically work with the CLI's linting results. Alternatively, you can use...
Read more >
JSHint Documentation
JSHint comes with a default set of warnings but it was designed to be very ... the configuration file manually via the --config...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found