6. Error
[eslint] is defined but never used
개발 환경 : typescript + React eslint 설정을 해뒀는데, 자꾸 에러가 떠서 뭐지 하고 찾다가 해결하여 작성함발생 이유에러를 미리 작성해놓고 적용하지 않았을 때 등장, 이외에도 선언만 하고 사용, 호출하지 않은 변수나 함수들도 no-unused-vars 규칙에 걸리게 됨기존에 있던 eslint{ "parser": "@typescript-eslint/parser", "plugins": ["@typescript-eslint"], "extends": ["plugin:@typescript-eslint/recommended"], "parserOptions": { "ecmaVersion": 2021, "sourceType": "module", "ecmaFeatures": ..
2024. 6. 13. 14:55