antfu / eslint-config

Anthony's ESLint config preset
https://eslint-config.antfu.me/
MIT License
3.41k stars 400 forks source link

OptionsConfig.autoRenamePlugins 配置设置为 false 似乎不生效 #466

Closed bbye913 closed 2 months ago

bbye913 commented 2 months ago

Describe the bug

image

Reproduction

具体代码如上图,日志打出的插件还是自动重命名为预设默认值

System Info

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 35.82 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 9.0.6 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 124.0.6367.94
    Edge: 124.0.2478.67
    Safari: 17.4.1

Used Package Manager

pnpm

Validations

antfu commented 2 months ago

Because the rules are already written that way, autoRenamePlugin is an option to convert rules from outside (userland) to match the convention. This is working as expected