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

3.1.0 • Public • Published

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

putout plugin adds ability to find and remove duplecate interface-keys.

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@3.1.0

Version

3.1.0

License

MIT

Unpacked Size

4.61 kB

Total Files

4

Last publish

Collaborators

  • coderaiser