Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Links with "babel" #34

@Mottie

Description

@Mottie

I've started using this package and I've noticed that errors have a link.

new-cap

In this case "babel/new-cap" in both the message panel and the tooltip points to this page - https://github.com/jfmengels/eslint-rule-documentation/blob/master/contributing.md - as if the rule doesn't exist.

I'm not using any ES6 that would require babel/eslint so that link should point to the ESLint docs (http://eslint.org/docs/rules/new-cap), right?

Also, it would be really nice to see an example of the "rules" option... it isn't blantantly obvious (or maybe I'm just dense), but seeing an example like this would have saved me about 30 minutes of searching:

"xo": {
  "esnext": true,
  "rules" : {
    "babel/new-cap": 0
  }
}

Note: I don't think this is related to this package, but the "env" rule seems to ignore the "greasemonkey" setting. That's the reason why I ended up disabling the "new-cap" rule.

"xo": {
  "esnext": true,
  "env" : [ "browser", "greasemonkey" ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions