Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Remove no-duplicate-key rule (#1109)
Browse files Browse the repository at this point in the history
Fixes #885.
  • Loading branch information
Josh Goldberg authored and adidahiya committed Sep 27, 2016
1 parent 26380f6 commit 7cad3cf
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 288 deletions.
11 changes: 0 additions & 11 deletions docs/_data/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,17 +457,6 @@
],
"type": "maintainability"
},
{
"ruleName": "no-duplicate-key",
"description": "Disallows duplicate keys in object literals.",
"rationale": "\nThere is no good reason to define an object literal with the same key twice.\nThis rule is now implemented in the TypeScript compiler and does not need to be used.",
"optionsDescription": "Not configurable.",
"options": null,
"optionExamples": [
"true"
],
"type": "functionality"
},
{
"ruleName": "no-duplicate-variable",
"description": "Disallows duplicate variable declarations in the same block scope.",
Expand Down
3 changes: 0 additions & 3 deletions docs/_site/rules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ <h3>Functionality</h3>
<li><a href="no-debugger">no-debugger</a> - Disallows <code>debugger</code> statements.
</li>

<li><a href="no-duplicate-key">no-duplicate-key</a> - Disallows duplicate keys in object literals.
</li>

<li><a href="no-duplicate-variable">no-duplicate-variable</a> - Disallows duplicate variable declarations in the same block scope.
</li>

Expand Down
137 changes: 0 additions & 137 deletions docs/_site/rules/no-duplicate-key/index.html

This file was deleted.

16 changes: 0 additions & 16 deletions docs/rules/no-duplicate-key/index.html

This file was deleted.

1 change: 0 additions & 1 deletion src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export const rules = {
"no-construct": true,
"no-constructor-vars": false,
"no-debugger": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
Expand Down
69 changes: 0 additions & 69 deletions src/rules/noDuplicateKeyRule.ts

This file was deleted.

46 changes: 0 additions & 46 deletions test/rules/no-duplicate-key/test.ts.lint

This file was deleted.

5 changes: 0 additions & 5 deletions test/rules/no-duplicate-key/tslint.json

This file was deleted.

0 comments on commit 7cad3cf

Please sign in to comment.