fix(linter/node/no-exports-assign): change category from style to suspicious (#26555)

Closes #26282. `exports = {}` is most likely a bug (reassigns the local
`exports` binding, not `module.exports`), so it fits the `suspicious`
category better than `style`. Test still passes.

AI disclosure: assisted by AI (Hermes/Sera); human-reviewed.
Agent-Owner:sera

Signed-off-by: Bartok9 <259807879+Bartok9@users.noreply.github.com>
Co-authored-by: Cameron <cameron.clark@hey.com>
This commit is contained in:
BartokandCameron authored and GitHub committed 2026-09-22 14:51:29 +00:00
1 parent cce28a0f72
commit ebb22f15fa
1 file changed
+1 -1
@@ -54,7 +54,7 @@ declare_oxc_lint!(
/// ```
NoExportsAssign,
node,
style,
suspicious,
fix,
version = "0.9.3",
short_description = "Disallows assignment to `exports`.",