Skip to content

Commit

Permalink
[Change] eslint 설정 변경
Browse files Browse the repository at this point in the history
jsx-eslint/eslint-plugin-jsx-a11y#402
next.js의 link컴포넌트를 사용하기 위해서 eslint 설정변경
  • Loading branch information
KangJiJi committed Jan 16, 2021
1 parent 34fd2f1 commit f32ef85
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"import/no-extraneous-dependencies": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"],
"aspects": ["invalidHref", "preferButton"]
}
],
"react/react-in-jsx-scope": "off"
}
}

0 comments on commit f32ef85

Please sign in to comment.