Programming language/Reactjs
storybook 설정 - [ESLintError: [eslint] src/stories/Page.tsx Line 39:13: `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities
hello-world
2022. 9. 15. 16:31
728x90
반응형
[ESLintError: [eslint] src/stories/Page.tsx Line 39:13: `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities
eslint 에서 error 나는 거니 해당 부분을 일단 꺼두면 될거 같아 해보니 잘 된다.
.eslintrc.json 의 rules 부분에 아래 react/no-unescaped-entities 부분을 추가해 주면 된다.
{
"rules": {
.......중략.............
"react/no-unescaped-entities": 0
}
}
728x90
반응형