-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[restrict-plus-operands] Throws "this rule requires you to use @typescript-eslint/parser" #130
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
Comments
Sorry for the confusion, this is a genuine error - but with the wrong message. In order to use rules which require type information, you have to provide a reference to your tsconfig.json. I have opened #132 to address this. I'm afraid with the huge migration of everything, we haven't got around to improving the docs too much yet. |
Thanks @JamesHenry. Just an FYI, re: performance... In a project containing ~200 x Rule off
Rule off +
|
Out of curiosity, how does it compare to TSLint for any rules that require type checking? c.f. #55 |
Tagging @uniqueiniquity |
Hi @scottohara, thanks for sharing the perf numbers you're getting. |
Repro
Expected Result
Actual Result
Additional Info
Versions
@typescript-eslint/eslint-plugin
1.1.0
@typescript-eslint/parser
1.1.0
TypeScript
3.2.1
ESLint
5.11.1
node
11.5.0
npm
6.5.0
The text was updated successfully, but these errors were encountered: