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

### Description Adds a little instruction on how to apply overrides. These are things I had to figure out the hard way and hopefully can save the next guy some...

### Clear and concise description of the problem Pretty often I find myself writing ```ts if (foo) { bar() void 0 } ``` to avoid ESLint collapsing that to ```ts...

enhancement

### Clear and concise description of the problem ESLint just released [v6.0.0](https://github.com/eslint/markdown/releases/tag/v6.0.0) of `eslint-plugin-markdown` under `@eslint/markdown` and added new rules which currently wouldn't work based on the way we apply...

enhancement
pr welcome

### Describe the bug I keep getting the following error when I use a `tsconfig.json` with `extends` ``` 0:0 error Parsing error: Cannot read properties of undefined (reading 'target') ```...

help wanted
pr welcome
upstream

This is not strictly a bug with the config, but it's because the stable version of eslint-plugin-react-hooks (v4) does not have ESLint 9 as a peer config. As suggested by...

question
tips

### Description `prettierConfigs` with internal runtime default options makes users customize code format easy with the consistent format style. For examples: - I used to customize formatting SVG with html...

### Describe the bug I'm having the same as https://github.com/antfu/eslint-config/issues/372 when I try to change this config: ```diff import antfu from '@antfu/eslint-config'; export default antfu({ rules: { - 'ts/consistent-type-imports': 'off',...

### Describe the bug I just upgraded the package to `v2.24.0` My project is still using v18 since it's the LTS we are building on. `v2.24.0` could not be installed...

pr welcome

### Clear and concise description of the problem 全局的组件,有没有办法要求使用的时候必须`PascalCase` 全局注入的组件是`unplugin-vue-components`自动注入的,但是没办法限制组件里面的写法必须是`PascalCase` 有生成typescript的声明文件`components.d.ts` ### Suggested solution 和`unplugin-vue-components`联动一下,能识别全局组件 ### Alternative _No response_ ### Additional context _No response_ ### Validations - [X] Follow our...

enhancement

### Describe the bug When using `formatters: true` in a vue file that has a style tag, that for some reason had a 4 tab indent spacing, eslint throws and...