-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: should inspect reserved_words after preset_env #1367
Conversation
Walkthrough这些变更主要涉及三个方面:在 Changes
Poem
Tip AI model upgrade
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- crates/mako/src/build/transform.rs (2 hunks)
- e2e/fixtures/config.targets/expect.js (1 hunks)
- e2e/fixtures/config.targets/src/index.tsx (1 hunks)
Additional comments not posted (5)
e2e/fixtures/config.targets/src/index.tsx (2)
3-3
: LGTM!空行没有问题。
5-9
: 请确保新对象a
的用途明确对象
a
的初始化看起来是正确的,但从上下文中不清楚其用途。请确保在代码的其他部分有明确的用途说明。e2e/fixtures/config.targets/expect.js (1)
12-16
: 请确保正则表达式模式正确新的断言似乎放置正确,但请确保正则表达式模式
function default\\(
是准确的。crates/mako/src/build/transform.rs (2)
13-13
: 请确保reserved_words
函数的使用是正确的导入语句看起来是正确的,但请确保
reserved_words
函数在代码中的使用是正确的。
181-181
: 请确保添加reserved_words
不会引入问题将
reserved_words
函数添加到folders
集合中的用法看起来是正确的,但请确保此更改不会引入任何问题。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- e2e/fixtures/config.targets/expect.js (2 hunks)
- e2e/fixtures/config.targets/src/index.tsx (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- e2e/fixtures/config.targets/expect.js
- e2e/fixtures/config.targets/src/index.tsx
只解 |
在 preset_env 后执行了 swc 的保留字检查
Summary by CodeRabbit
a
,它包含一个默认类定义。