You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
Just read the bug you linked. I think extending the base ESLint rule to handle typescript specific nodes makes the most sense as we don't want to impact other rules that use the Identifier node.
I don't remember if you can do this easily via eslint's context or not, but if you can, it should be as easy as interrogating the parent of the identifier!
Also considering we only currently have a minor modification - I wonder if it's possible to just import the existing eslint rule and do something like:
if (isTsInterfaceProp() && settings.properties === 'always') {
eslintCamelcase()
}
weirdpattern
added a commit
to weirdpattern/eslint-plugin-typescript
that referenced
this issue
Nov 26, 2018
Repro
Expected Result
No errors
Actual Result
Identifier 'b_ar' is not in camel case.
Additional Info
Moved from unresponsive PR #95
eslint/typescript-eslint-parser#492
The text was updated successfully, but these errors were encountered: