JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18090
  • Score
    100M100P100Q166515F
  • License MIT

putout plugin adds ability to find and remove process.exit

Package Exports

  • @putout/plugin-remove-duplicate-keys

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@putout/plugin-remove-duplicate-keys) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

putout-plugin-remove-duplicate-keys NPM version Dependency Status

putout plugin adds ability to find and remove duplecate keys.

Install

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

Rule

{
    "rules": {
        "remove-duplicate-keys": true
    }
}

❌ Incorrect code example

const a = {
    x: 'hello',
    ...z,
    x: 'world',
};

✅ Correct code Example

const a = {
    ...z,
    x: 'world',
};

License

MIT