Skip to content

Docs: More details on Built-In Configurations #5030

@PabloLION

Description

@PabloLION

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

I'm trying to use a more strict rule on linting. But all three rules in the strict chapter reported error of being unable to find some plugins.

Please add more details on how to use the built-in configurations (same page as before)

The first missing plugin @typescript-eslint/eslint-plugin-await-thenable is not on NPM (0 packages found) and I don't know where to find it.

The error message
$ yarn lint
yarn run v1.22.18
$ eslint . --ext .ts

Oops! Something went wrong! :(

ESLint: 8.16.0

ESLint couldn't find the plugin "@typescript-eslint/eslint-plugin-await-thenable".

(The package "@typescript-eslint/eslint-plugin-await-thenable" was not found when loaded as a Node module from the directory "SOME_DIR".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install @typescript-eslint/eslint-plugin-await-thenable@latest --save-dev

The plugin "@typescript-eslint/eslint-plugin-await-thenable" was referenced from the config file in "package.json".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Affected URL(s)

https://typescript-eslint.io/docs/linting/configs

Metadata

Metadata

Assignees

No one assigned

    Labels

    unable to reproissues that a maintainer was not able to reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions