atomspace / eslint-plugin-naming-convention

ESLint plugin to validate identifiers names according to a convention
MIT License
1 stars 0 forks source link

Don't allow to name object and its properties the same #67

Open constgen opened 4 years ago

constgen commented 4 years ago

Typically we would not like to see this in the code

data.data.data

and

let data = {
  data: {}
}

We may separate in options the checking of similar names in accessing and declarations