Skip to content

Commit 6363e27

Browse files
committed
Update link in comment.
The code changed this was linked in the past. Also, maybe we should remove `reactHookRulesInsideReactScope` in favor of just adding react-hooks to the aliasPluginNames? Unsure.
1 parent 0c42a89 commit 6363e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// only used for the scopes where the directory structure doesn't reflect the eslint scope
33
// such as `typescript` vs `@typescript-eslint` or others. Eslint as a scope is an exception,
44
// as eslint doesn't have a scope.
5-
// look here: <https://github.com/oxc-project/oxc/blob/0b329516372a0353e9eb18e5bc0fbe63bce21fee/crates/oxc_linter/src/config/rules.rs#L285>
5+
// Basically the reverse of this: <https://github.com/oxc-project/oxc/blob/94320ab6f60ef6aaedeb901b04ccb57e953f66bf/crates/oxc_linter/src/config/rules.rs#L246>
66
export const aliasPluginNames: Record<string, string> = {
77
// for scripts/generate and src/build-from-oxlint-config
88
eslint: '',

0 commit comments

Comments
 (0)