Anthony Fu

Results 1228 comments of Anthony Fu

Sounds good to me, PR welcome!

It's from ESLint core, we keep that for backward compatibility and easier migration.

Yeah, I wouldn't mind moving it and alias it back. Pr welcome if that matters to you.

We do have https://eslint.style/rules/default/type-generic-spacing, is that not enough?

Could you add the test case at the end of the list with a comment linking to the issue? Thanks.

To answer your questions: 1. You can run `npm run update` on the project root 2. That's how rules works, only one change is applied at one time. You could...

Ideally, the jsx rules should not be aware of Astro; either they should not be enabled in Astro files, or there is something that could be improved in `astro-eslint-parser` or...

I don't know enough about Astro, and I don't use it. I would count on the community to figure out a solution to either here or the parser side.

You can try this rule in my personal plugin: https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md I feel it could be a bit opinionated so I am not sure to move it to this project tho.

The main problem I had was that there were too many rules for doing newlines and hear to learn or identify what is missing - that's why I came up...