Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Add code in message to help developer #27

Closed
@stephanebachelier

Description

jshint is powerful enough to disable some validation when it finds a special comment.

As I am kind of lazy, or in other words I don't like losing my time to find the custom jshint code to add the correct comments, I want the code W098 for example to be added to the message which is really helpful. I don't say that you should always use the special comments, the .jshintrc file is the way to go. But sometimes it's needed because you may not have full control, or you need to respect some API. bla bla bla

FYI, the jshint codes are available here:
https://github.com/jshint/jshint/blob/master/src/messages.js

Because I really want this, here what I've done:

  • on render info message not as an error #26 to render the info message not as an error
  • forked AtomLinter/Linter to add a @formatMessage
  • create a new branch on my fork of AtomLinter/linter-jshint to implement the new @formatMessage

Hope you will accept these contributions :)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions