eslint-config
eslint-config copied to clipboard
Anthony's ESLint config preset
### Clear and concise description of the problem Thanks for the great repo, as I'm using it as a template to build my own ESLint template. As I can see...
### Clear and concise description of the problem Performance drop when we use [Type Aware Rules](https://github.com/antfu/eslint-config#type-aware-rules). ### Suggested solution 10 times faster with espree template. https://github.com/vuejs/vue-eslint-parser#parseroptionsparser Add "espree" template for...
### Describe the bug WARN Issues with peer dependencies found . └─┬ @antfu/eslint-config 2.21.1 ├─┬ @stylistic/eslint-plugin 2.3.0 │ └─┬ @stylistic/eslint-plugin-plus 2.3.0 │ └─┬ @typescript-eslint/utils 7.14.1 │ └── ✕ unmet peer...
### Describe the bug When enabling type-aware rules, the rules provided in the typescript object aren't pushed as the last config items: ```ts import antfu from '@antfu/eslint-config' export default antfu({...
fix #519
### Description https://github.com/antfu/eslint-config/blob/8f36c5bab73ddb855db8f4a1cd96246817f6aa26/src/configs/typescript.ts#L140 `ts/prefer-ts-expect-error` rule is enabled and enforce usage of `@ts-expect-error` https://github.com/antfu/eslint-config/blob/8f36c5bab73ddb855db8f4a1cd96246817f6aa26/src/configs/typescript.ts#L122 Therefore `ts/ban-ts-comment` rule should allow description for `ts-expect-error` and not `ts-ignore` to be consistent
### Clear and concise description of the problem This is a tracking issue of upgrading typescript-eslint to v8 https://typescript-eslint.io/blog/announcing-typescript-eslint-v8-beta/ https://github.com/typescript-eslint/typescript-eslint/discussions/8914 ### Suggested solution Upgrade to typescript-eslint@8 now or when it...
### Describe the bug When using `@antfu/eslint-config` in a project on Windows that has a folder name that is a superset of parent folder's name, lint command is throwing the...
### Clear and concise description of the problem In addition to `eslint-plugin-vitest`, there exist other testing frameworks that can integrate with other frameworks supported by the config and Vitest, such...
I almost completely covered all my formatting and linting needs but there is still 1 thing which is that classes are just not getting formatted. ``` class="test-sm ml-2 overflow-hidden white-space-nowrap...