@putout/plugin-remove-duplicate-interface-keys

3.2.1 • Public • Published

@putout/plugin-remove-duplicate-interface-keys NPM version

🐊Putout plugin adds ability to find and remove duplecate interface-keys. Moved to @putout/plugin-typescript

Install

npm i @putout/plugin-remove-duplicate-interface-keys

Rule

{
    "rules": {
        "remove-duplicate-interface-keys": "on"
    }
}

Incorrect code example

interface Hello {
    'hello': any
    'hello': string
}

Correct code Example

interface Hello {
    'hello': string
}

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @putout/plugin-remove-duplicate-interface-keys

Weekly Downloads

10,988

Version

3.2.1

License

MIT

Unpacked Size

4.66 kB

Total Files

4

Last publish

Collaborators

  • coderaiser