Skip to content

.jshintrc has no effect? #121

@ok11

Description

@ok11

Hi all,

I'm trying to suppress the messages like "'let' is available in ES6...". I placed the following content in .jshintrc in the project root (near .project):

{
  "esversion": 6,
  "node": true
}

This is then visible in the project settings under JSHint->Configuration.
Still, neither this, nor placing the same content in global preferences, does not switch off the warning.
The only thing that helps, is adding the JSHint comment (/* jshint esversion: 6 */) in each and every file, which does not scale for a large project.

Am I missing something in my setup?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions