Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: resolvingbase config errors when enabling newstrict preset #5001

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't working
@FloEdelmann

Description

@FloEdelmann

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I havesearched for related issues and found none that matched my issue.
  • I haveread the FAQ and my problem is not listed.

Issue Description

When enabling the newstrict config, ESLint fails with the following error:

Oops! Something went wrong! :(ESLint: 8.15.0ESLint couldn't find the config "./configs/base" to extend from. Please check that the name of the config is correct.The config "./configs/base" was referenced from the config file in "/home/flo/www/vue-ts-types/node_modules/@typescript-eslint/eslint-plugin/dist/configs/recommended.js".If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.

See alsoFloEdelmann/vue-ts-types#29 andhttps://github.com/FloEdelmann/vue-ts-types/runs/6472350066?check_suite_focus=true

I first tried enabling the config like described here:https://github.com/typescript-eslint/typescript-eslint/blob/v5.24.0/docs/linting/CONFIGS.md#strict

(N.B.: The link "presets" on this rules docs page doesn't work:https://typescript-eslint.io/rules/)

Since thestrict configextends from therecommended andrecommended-with-type-info configs, I deleted them from my own ESLint config, but the error persisted in both cases.

Reproduction Repository Link

https://github.com/FloEdelmann/vue-ts-types/tree/strict-eslint

Repro Steps

  1. clone the repo
  2. git switch strict-eslint
  3. npm install
  4. npm run lint

Versions

packageversion
@typescript-eslint/eslint-plugin5.24.0
@typescript-eslint/parser5.24.0
TypeScript4.6.4
ESLint8.15.0
node14.19.2

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp