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

Simplify ESLint configuration #1

Closed
kripod opened this issue May 15, 2018 · 0 comments
Closed

Simplify ESLint configuration #1

kripod opened this issue May 15, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kripod
Copy link
Owner

kripod commented May 15, 2018

The following parts of .eslintrc.json should be removed on the long term:

"settings": {
  "import/core-modules": ["gatsby"]
}

Related issue: gatsbyjs/gatsby#5410


"rules": {
  "jsx-a11y/anchor-is-valid": [
    "error",
    {
      "components": ["Link"],
      "specialLink": ["to"],
      "aspects": ["noHref", "invalidHref", "preferButton"]
    }
  ]
}

Related PR: airbnb/javascript#1648

@kripod kripod added the enhancement New feature or request label May 15, 2018
@kripod kripod self-assigned this May 15, 2018
@kripod kripod closed this as completed in cabc047 Jun 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant