-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
camelcase shouldn't warn when reading properties #672
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
Comments
Did you mean that var foo = bar._baz; And warn when using: bar.boom_ = "foo"; The snippets you described look like |
Oops, this should be about the |
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 12, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 12, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 12, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 12, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 13, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 13, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Mar 14, 2014
The `camelcase` rule now allows reading underscored properties: var foo = bar.baz_boom; Fixes eslint#672
eslint-deprecated
bot
added
the
archived due to age
This issue has been archived; please open a new issue for any further discussion
label
Feb 7, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
Similar to #656, if you're reading a property value that has underscores in it, it shouldn't be your fault. A lot of web services do this, as well as libraries. So this should be okay:
This should still warn:
The text was updated successfully, but these errors were encountered: