Replace typescript-eslint config() with ESLint built-in defineConfig()
documentationacceptedcliconfig
### Describe the feature
We want to replace typescript-eslint config() with ESLint built-in defineConfig().
#### Steps
- update `typescript-eslint` to latest
- remove `tseslint.config()` from everywhere
- update `@sherifforg/create`
- update docs accordingly
#### Docs
- https://typescript-eslint.io/packages/typescript-eslint/#config-deprecated
- https://typescript-eslint.io/packages/typescript-eslint/#migrating-to-defineconfig
### Motivation
typescript-eslint config() has been officially deprecated in favor of the ESLint built-in defineConfig().
### Projects
eslint-config-sheriff, @sherifforg/create-config, the documentation website
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/AndreaPontrandolfo/sheriff/blob/master/CODE_OF_CONDUCT.md)
- [x] I have read the [Contributing Guidelines on Issues](https://github.com/AndreaPontrandolfo/sheriff/blob/master/CONTRIBUTING.md#opening-a-new-issue).
### I will submit a PR
- [x] I'd be willing to submit a PR for this issue.
6 条评论