Skip to content
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

How to add recommended-type-checked #751

Closed
janat08 opened this issue May 4, 2024 · 1 comment
Closed

How to add recommended-type-checked #751

janat08 opened this issue May 4, 2024 · 1 comment

Comments

@janat08
Copy link

janat08 commented May 4, 2024

I've added the following, having installed the requisite packages, but the command xo --fix crashes with a cryptic message:
extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended-type-checked', 'plugin:@typescript-eslint/stylistic-type-checked', 'plugin:unicorn/recommended', ], parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'],

@spence-s
Copy link
Contributor

These are all included by default in xo. You do not need any manual step for this. - some of our rules are slightly different than the eslint "recommended" configs but if you really want those configs, xo might not be the right choice of tools for you.

We already support the strictest typescript type aware type checking by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants