How to override rules and config rule severity(warn) not working
### Describe the bug
Hi author!
Here is my config for overriding your rules
```ts
export default sxzz(
{
rules: {
'no-console': 'warn',
},
},
{
vue: true,
prettier: true,
markdown: true,
unocss: true,
sortKeys: true,
},
)
```
I don't see any warning when I use, but rule severity(error) is fine
```ts
const a: any = 1
console.log(a)
```
<img width="407" alt="CleanShot 2023-12-04 at 11 16 08@2x" src="https://github.com/sxzz/eslint-config/assets/78008509/30107de7-9d3d-4f79-a06f-1b81da9b3eaf">
### Reproduction
Nothing
### System Info
```Shell
System:
OS: macOS 13.6.1
CPU: (8) arm64 Apple M1 Pro
Memory: 151.86 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.9.0 - ~/Library/Caches/fnm_multishells/76365_1701660609649/bin/node
npm: 10.1.0 - ~/Library/Caches/fnm_multishells/76365_1701660609649/bin/npm
pnpm: 8.11.0 - ~/Library/pnpm/pnpm
bun: 1.0.12 - ~/.bun/bin/bun
Browsers:
Safari: 16.6
```
### Used Package Manager
pnpm
### Validations
- [X] Follow our [Code of Conduct](https://github.com/sxzz/.github/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guide](https://github.com/sxzz/contribute).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
关闭于 2023-12-04 7 条评论