> For the complete documentation index, see [llms.txt](https://knowledgebase.autorabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.autorabit.com/fundamentals/announcements/new-codescan-rules-for-lwc-server-side-rendering-ssr-support.md).

# New CodeScan Rules for LWC Server-Side Rendering (SSR) Support

### Overview

CodeScan is expanding its JavaScript/LWC rule coverage with 6 new rules that help identify code incompatible with Lightning Web Components Server-Side Rendering (SSR), rolling out **November 15, 2026**. These rules are part of our ongoing sync with the latest `@lwc/eslint-plugin-lwc` release.

### What's New

| Rule                                                    | Severity | Type          |
| ------------------------------------------------------- | -------- | ------------- |
| `ssr-no-disallowed-lwc-imports`                         | Critical | Vulnerability |
| `ssr-no-host-mutation-in-connected-callback`            | Critical | Bug           |
| `ssr-no-restricted-browser-globals`                     | Critical | Bug           |
| `ssr-no-unsupported-node-api`                           | Critical | Bug           |
| `ssr-no-form-factor`                                    | Major    | Bug           |
| `ssr-no-static-imports-of-user-specific-scoped-modules` | Major    | Code Smell    |

All 6 rules apply to JavaScript/LWC code and carry the `lightning` and `salesforce` tags.

### Activating the New Rules

These rules **will not be active by default**. To include them in your scans:

1. Go to your custom Quality Profile.
2. Search for the `lightning` or `salesforce` tag to locate the new rules.
3. Activate the rules you want included.

Existing scan results will not change until you complete this step.

### Prerequisite: Node.js Version

Supporting these rules requires the scanning engine to run on ESLint 9, which in turn requires **Node.js 18.20.0 or later**.

| Environment                               | Action Needed                                                        |
| ----------------------------------------- | -------------------------------------------------------------------- |
| CodeScan cloud-hosted service             | None — we manage the runtime for you.                                |
| Custom (self-hosted) CI/CD agents/runners | Confirm Node.js 18.20.0+ is installed before enabling the new rules. |
| On-premises CodeScan installation         | Confirm Node.js 18.20.0+ is installed before enabling the new rules. |

If your environment doesn't meet this minimum, activating the new rules may cause scan failures until Node.js is upgraded.

### Need Help?

Contact AutoRABIT Support at <support@autorabit.com>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledgebase.autorabit.com/fundamentals/announcements/new-codescan-rules-for-lwc-server-side-rendering-ssr-support.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
