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

[naming-convention] Configuration invalid (unexpected error) when using config all #1472

Closed
Assignees
bradzacher
Labels
bugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
@fernandopasik

Description

@fernandopasik

When using the configall the config applied for this rule is

"@typescript-eslint/naming-convention": "error",

https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/src/configs/all.json#L24

Repro

{"extends": ["plugin:@typescript-eslint/all"  ]}

Expected Result

Run normally.

Actual Result

Throws an unexpected error

Error: .eslintrc.json » plugin:@typescript-eslint/all:        Configuration for rule "@typescript-eslint/naming-convention" is invalid:        Value [] should NOT have fewer than 1 items.

Versions

packageversion
@typescript-eslint/eslint-plugin2.16.0
@typescript-eslint/parser2.16.0
TypeScript3.7.5
ESLint6.8.0
node12.13.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

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