Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add @socialgouv/eslint-config-nextjs #3

Open
douglasduteil opened this issue Oct 16, 2018 · 2 comments
Open

feat: add @socialgouv/eslint-config-nextjs #3

douglasduteil opened this issue Oct 16, 2018 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@douglasduteil
Copy link
Contributor

As lot of our website are using Next.js we should have a one line config for it.

@douglasduteil douglasduteil added the good first issue Good for newcomers label Oct 16, 2018
@douglasduteil douglasduteil self-assigned this Oct 16, 2018
@pom421
Copy link

pom421 commented Oct 18, 2019

👍 Avec au moins l'ajout de cette règle, pour éviter la remontée du href manquant pour une balise a dans un Link

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

@douglasduteil
Copy link
Contributor Author

@pom421 tu nous fais une PR <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants