Rule: no-duplicate-key
- -Disallows duplicate keys in object literals.
- - - -Rationale
- -There is no good reason to define an object literal with the same key twice. -This rule is now implemented in the TypeScript compiler and does not need to be used.
- - - - -Config
-Not configurable.
- - -Examples
- --"no-duplicate-key": true -- - -
Schema
--null --