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

[ban-types] Conflict with no-explicit-any #842

Closed
Labels
enhancementNew feature or requesthas prthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
@glen-84

Description

@glen-84

Repro

{"rules": {"@typescript-eslint/ban-types":"error","@typescript-eslint/no-explicit-any":"error"  }}
createComponent(component: any,params:Object){}

Expected Result

Error onparams forban-types, fixes to{} or suggestsobject, or at least something that doesn't include an explicitany.

Actual Result

Error onparams forban-types, fixes toRecord<string, any> which conflicts with theno-explicit-any rule.

Additional Info

n/a

Versions

packageversion
@typescript-eslint/eslint-plugin1.13.0
@typescript-eslint/parser1.13.0
TypeScript3.4.5
ESLint6.1.0
node10.16.0
npm6.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthas prthere is a PR raised to close thispackage: 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