eslint-config icon indicating copy to clipboard operation
eslint-config copied to clipboard

Anthony's ESLint config preset

Results 50 eslint-config issues
Sort by recently updated
recently updated
newest added

### Describe the bug 当我尝试调整vue文件的书写顺序时发现保存时总是在默认顺序和覆写顺序中反复横跳,下面的演示是我在覆写和默认情况下反复按ctrl+s的效果 ![PixPin_2024-01-09_20-46-59](https://github.com/antfu/eslint-config/assets/68525017/ecc65212-0f95-49e9-b5bd-f8621500a7ca) ### Reproduction https://github.com/MangMax/antfu-eslint-config-bug ### System Info ```Shell System: OS: Windows 11 10.0.22631 CPU: (16) x64 AMD Ryzen 7 7840HS w/ Radeon 780M Graphics Memory:...

### Describe the bug We tried configuring for `.blade.php` files but the auto-formatting did not work. Is support for blade files not there yet or did we misconfigure our configs?...

### Clear and concise description of the problem How do I keep only the indent rules of prettier or set them to the same effect of prettier using style/indent ###...

enhancement

### Clear and concise description of the problem The `prefer-const` rule interferes with the required mutability of Rune variables in Svelte 5 if they aren't reassigned before linting. Required format:...

enhancement

### Describe the bug With default configuration the rule "indent" does not apply on array expressions. But the config viewer states that the rule is active, did I miss something?...

bug

### Description These are the sort fields I usually use, and you can decide what rules are needed of the project. You can modify them directly or bring them up....

### Clear and concise description of the problem First of all thanks for integrating the ability to lint also CSS files in the latest versions. I think it would be...

enhancement

### Description Enable `eslint-plugin-mdx` to replace simple `eslint-plugin-markdown` ### Linked Issues N/A ### Additional context

### Description Use espree with vue-eslint-parser. **First of all, need to merge the [#1](https://github.com/antfu/eslint-define-config/pull/1) in antfu/eslint-define-config** ### Linked Issues For [#294](https://github.com/antfu/eslint-config/issues/294)

### Describe the bug Once you upgrade `@typescript-eslint` to `v6.11.0`, I believe you will receive the following error. ![image](https://github.com/antfu/eslint-config/assets/45784210/d0b02954-3721-4cfd-a1be-b603ce88b915) This is due to they added their own type of `ParserOptions`...