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
The @typescript-eslint/eslint-plugin provides a recommended config which turn off some Eslint rules that conflicts or doesn't work well with TypeScript.
For example in a types.d.ts file with the following code:
type MyType = {};
export {MyType};
the rules rule no-undef is incorrectly triggered.
I think this config is the right place to disable those rules. We could even just include plugin:@typescript-eslint/eslint-recommended here.
The text was updated successfully, but these errors were encountered:
pvdlg
changed the title
Should we include the Eslint rule override from @typescript-eslint/eslint-recommended ?
Should we include the Eslint rules override from @typescript-eslint/eslint-recommended ?
Mar 25, 2020
The
@typescript-eslint/eslint-plugin
provides a recommended config which turn off some Eslint rules that conflicts or doesn't work well with TypeScript.For example in a
types.d.ts
file with the following code:the rules rule
no-undef
is incorrectly triggered.I think this config is the right place to disable those rules. We could even just include
plugin:@typescript-eslint/eslint-recommended
here.What do you think @sindresorhus ?
The text was updated successfully, but these errors were encountered: