오류 로드 규칙 ‘@typescript-eslint/dot-notation’: parserServices를 생성해야 하는 규칙을 사용했습니다. 따라서 @typescript-eslint/parser의 “parserOptions.project” 속성 값을 제공해야 합니다.

오류 내용

Oops! Something went wrong! :(

ESLint: 8.36.0

Error: Error while loading rule '@typescript-eslint/dot-notation': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.

해결

yarn add @typescript-eslint/parser
//  .eslintrc.json

  "parserOptions": {
    "project": "./tsconfig.json"
  }