Query module DuplicateProperty

name
Duplicate property
description
Listing the same property twice in one object literal is redundant and may indicate a copy-paste mistake.
kind
problem
problem.severity
warning
id
js/duplicate-property
tags
maintainability external/cwe/cwe-563
precision
very-high

Imports

Clones

Provides predicates for detecting pairs of identical AST subtrees.