Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Repo: linting fails after building website #10262

@kirkwaiblinger

Description

@kirkwaiblinger

Suggestion

Seems that we're running the linter on build output files. Let's ensure that they're removed from the lint config so that contributors can reliably use yarn lint to check their PRs for CI.

Additional Info

Repro steps: yarn start, once the website is running, kill the process, then run yarn lint. I get

   ✖  nx run repo:lint
      > eslint . --ignore-pattern=packages --cache
      
      
      /Users/kwaibli/src-personal/typescript-eslint/docs/packages/ast-spec/generated/typedoc-sidebar.cjs
        0:0  error  Parsing error: /Users/kwaibli/src-personal/typescript-eslint/docs/packages/ast-spec/generated/typedoc-sidebar.cjs was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject
      
      /Users/kwaibli/src-personal/typescript-eslint/docs/packages/type-utils/generated/typedoc-sidebar.cjs
        0:0  error  Parsing error: /Users/kwaibli/src-personal/typescript-eslint/docs/packages/type-utils/generated/typedoc-sidebar.cjs was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject
      
      ✖ 2 problems (2 errors, 0 warnings)

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions