在第二课,Vite+React应用初始化。按照要求现在package.json中忽略了eslint的更新,配置文件也都是复制的git仓库的,在执行pnpm lint时,报错
eslint . –ext ts,tsx –fix –report-unused-disable-directives –max-warnings 0
Debugger attached.
Invalid option ‘–ext’ - perhaps you meant ‘-c’?
You’re using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details.
Waiting for the debugger to disconnect…
ELIFECYCLE Command failed with exit code 2.
Waiting for the debugger to disconnect…
ELIFECYCLE Command failed with exit code 2.
Waiting for the debugger to disconnect…
[upl-image-preview uuid=c4d666ce-7214-471e-91dc-011178abd3cb url=https://cn-nb1.rains3.com/3rcd/2024-08-16/1723791185-99485-image.png fullscreen_uri={URL}]