Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
commit acb6cd7, 724a2eb 更新了 eslint major version,新的 eslint 要求
@typescript-eslint/ban-ts-comment
的allow-with-description
需要是一个对象。同时更新了 example.ts 中的 ts-ignore 注释。
commit c280874 更新了 prettier major version,新版本默认添加所有的尾随逗号,同时,新版取消了 Node.js v14,v17 的支持。
https://prettier.io/blog/2023/07/05/3.0.0.html#javascript
npm install 后需要重新启动 vscode 以让 prettier 工作正常。
让 release-it init 前 lint 代码,或许 build 时候一起?或许手动运行,revert 这次提交就可。
更新依赖