eslint-plugin-sfmc 5.4.4 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
1
  # `eslint-plugin-unicorn` compatibility with SFMC SSJS
2
2
 
3
- > **Compatibility analysis for [`eslint-plugin-unicorn@76.0.0`](https://github.com/sindresorhus/eslint-plugin-unicorn).**
3
+ > **Compatibility analysis for [`eslint-plugin-unicorn@80.0.0`](https://github.com/sindresorhus/eslint-plugin-unicorn), re-audited from the v76.0.0 baseline. Both 76 and 80 are supported.**
4
4
  >
5
- > ⚠️ **Version warning:** This classification was done against `eslint-plugin-unicorn` **v76.0.0** (315 enabled recommended rules). Newer versions of unicorn may add, rename, or change rules that are **not** yet classified here. Re-audit this page whenever you upgrade unicorn — a rule added in a later version could autofix SSJS into runtime-breaking code without being in the override list below.
5
+ > ⚠️ **Version warning:** This classification covers `eslint-plugin-unicorn` **v76.0.0** (315 enabled recommended rules and 42 others) and **v80.0.0** (340 and 39 others). Deprecated rules are not audited, and `unicornSsjs()` turns them off. `eslint-plugin-sfmc` declares the optional peer range `>=57.0.0 <=80.0.0`: the ceiling is exactly the newest audited version, because any unicorn release, patches included, can change what an autofix writes. `sfmc.unicornSsjs()` turns off every rule that is not audited, so a renamed or new rule cannot slip through; changed behaviour of an audited rule still needs a re-audit. Unicorn 77–79 are covered by the 76 → 80 comparison, and 57–75 were not audited (their rule names match the 76 audit, but their fixes were not checked). The per-version verdicts live in `audit/unicorn/<version>.json` in the repository, and the test suite fails until an installed unicorn version has its own audit file.
6
6
 
7
7
  `eslint-plugin-unicorn` is an excellent, actively maintained plugin that we **strongly recommend** — but it targets modern JavaScript engines, not the Salesforce Marketing Cloud **SSJS** runtime. SFMC SSJS runs on a JINT-based ES3/ES5-era engine that is missing many built-ins (`Array#includes`, `String#startsWith`, `Set`, `Map`, `Math.trunc`, spread `...`, ES modules, `async`/`await`, …). CloudPage probes also found native `Object.fromEntries`, `matchAll` and `structuredClone` unavailable, both without Core and with Core 1.1.1 or 1.1.5. See the SFMC evidence pages:
8
8
 
9
9
  - **ECMAScript built-ins support** — <https://ssjs.guide/ecmascript-builtins/>
10
10
  - **Engine limitations** — <https://ssjs.guide/engine-limitations/>
11
11
 
12
- Of unicorn's **315** enabled recommended rules (v76.0.0), **255** remain active (including conditional and inert cases; not a blanket runtime-safety guarantee) and **60** should be turned off. `eslint-plugin-sfmc` ships a scope-specific override config (`unicorn-ssjs` / `unicorn-ssjs-embedded`) that turns off exactly those 60 for SSJS files. `eslint-plugin-sfmc` does **not** depend on or load unicorn — the override only takes effect when you have loaded unicorn yourself. See [Section 1](#section-1--how-to-apply).
12
+ Of unicorn's **340** enabled recommended rules (v80.0.0), **253** remain active (including conditional and inert cases; not a blanket runtime-safety guarantee) and **87** must be turned off. `prefer-keyboard-event-key` is also turned off, because its unicorn 76 autofix is unsafe, so **252** stay on for SSJS and **88** are turned off. Of its **39** other current rules, which run only if you turn them on, **24** are active, **8** must stay off and **7** do not support JavaScript ([Section 4](#section-4--rules-outside-the-recommended-set)). `sfmc.unicornSsjs(unicorn)` keeps only the audited rules for SSJS files and turns every other unicorn rule off; the older override configs (`unicorn-ssjs` / `unicorn-ssjs-embedded`) turn off exactly those 88. `eslint-plugin-sfmc` does **not** depend on or load unicorn — you pass in the unicorn plugin you already use. See [Section 1](#section-1--how-to-apply).
13
13
 
14
14
  ---
15
15
 
16
16
  ## Section 1 — How to apply
17
17
 
18
- The base `eslint-plugin-sfmc` package requires ESLint **10.0.0+** and Node.js **22+**. Optional composition with `eslint-plugin-unicorn@76` is upstream-supported only on ESLint **10.4.0+**, because Unicorn 76 declares that ESLint peer range. This integration floor does not raise the package-wide SFMC peer minimum: consumers that do not compose Unicorn remain supported from ESLint 10.0.0.
18
+ The base `eslint-plugin-sfmc` package requires ESLint **10.0.0+** and Node.js **22+**. Unicorn is an optional peer dependency in the range `>=57.0.0 <=80.0.0`. Unicorn 66 and later declare ESLint **10.4.0+**, and unicorn 80 additionally requires Node.js **22.13+**; this does not raise the SFMC peer minimum for projects without unicorn.
19
19
 
20
- Unicorn itself is **optional**. When you enable it for standalone SSJS, `unicorn-ssjs` is **required**; when you enable it for embedded SSJS, `unicorn-ssjs-embedded` is **required**. The example below covers both scopes, so it requires both overrides. `eslint-plugin-sfmc` never loads unicorn; the override is a plain rules object that only resolves when you have loaded your own unicorn config **earlier** in the flat-config array (that config registers the `unicorn` plugin). Insert each sfmc override **object** directly **after** it; only the `recommended` and `embedded` arrays are spread:
20
+ Add your unicorn config, then spread `sfmc.unicornSsjs(eslintPluginUnicorn)` **after** it:
21
21
 
22
22
  ```js
23
23
  import sfmc from 'eslint-plugin-sfmc';
@@ -30,24 +30,39 @@ export default [
30
30
  languageOptions: { ...eslintPluginUnicorn.configs.recommended.languageOptions, globals: {} },
31
31
  },
32
32
  ...sfmc.configs.recommended,
33
- ...sfmc.configs.embedded, // AMPscript + SSJS embedded in HTML (<script runat="server">)
34
- sfmc.configs['unicorn-ssjs'], // REQUIRED: protect standalone SSJS from the 60 incompatible rules
35
- sfmc.configs['unicorn-ssjs-embedded'], // REQUIRED: protect SSJS embedded in HTML
33
+ ...sfmc.configs.embedded, // AMPscript + SSJS embedded in HTML (<script runat="server">)
34
+ ...sfmc.unicornSsjs(eslintPluginUnicorn), // REQUIRED: only audited unicorn rules run on SSJS
36
35
  ];
37
36
  ```
38
37
 
38
+ What `sfmc.unicornSsjs(unicorn)` returns: one config for `**/*.ssjs` and `**/*.html/*.js` (SSJS extracted from `<script runat="server">`) that registers the unicorn object you pass and sets every unicorn rule to `off` except the 276 audited as safe: 252 recommended rules (Section 3) and 24 others (Section 4). It never turns a rule on, so a Section 4 rule runs only if your own config enables it. These 276 rules keep whatever your own unicorn config sets, including rules you turned off or configured. Rules outside the audits are off on SSJS even when you enabled them yourself; that is deliberate, so a new or renamed rule cannot reach SSJS before it is audited. Because it only ever writes `off`, it never fails on a unicorn version that lacks a rule.
39
+
39
40
  Keep the full recommended rule set, but scope it to JavaScript and SSJS (including extracted HTML JavaScript). AMPscript, Handlebars and MSO use custom ASTs that JavaScript-only Unicorn visitors cannot traverse safely. Replace Unicorn's builtin globals within this copied preset with an empty map so the language/runtime configs own globals; this does not remove globals from other matching config entries. The SFMC presets do not enable general `no-undef` checking, and separate HTML server blocks are linted independently.
40
41
 
42
+ ### Earlier setup: the two override configs
43
+
44
+ The override configs still work. They turn off exactly the 88 rules of Section 2. They do not turn off unaudited rules or the unsafe rules of Section 4, so they protect less than `unicornSsjs()`. They are plain rules objects without a `plugins` key; insert each directly **after** your unicorn config:
45
+
41
46
  | Config | Applies to |
42
47
  |---|---|
43
48
  | `unicorn-ssjs` | `**/*.ssjs` |
44
49
  | `unicorn-ssjs-embedded` | `**/*.html/*.js` (SSJS extracted from `<script runat="server">`) |
45
50
 
46
- If you don't use unicorn, omit these configs entirely — nothing else in `eslint-plugin-sfmc` references them.
51
+ ```js
52
+ export default [
53
+ { ...eslintPluginUnicorn.configs.recommended, files: ['**/*.{js,mjs,cjs,ssjs}'] },
54
+ ...sfmc.configs.recommended,
55
+ ...sfmc.configs.embedded,
56
+ sfmc.configs['unicorn-ssjs'],
57
+ sfmc.configs['unicorn-ssjs-embedded'],
58
+ ];
59
+ ```
60
+
61
+ If you don't use unicorn, omit all of these — nothing else in `eslint-plugin-sfmc` references them.
47
62
 
48
- All 12 public shapes remain unchanged: six objects (`ampscript`, `ssjs`, `ampscript-next`, `ssjs-next`, `unicorn-ssjs`, `unicorn-ssjs-embedded`) and six arrays (`recommended`, `embedded`, `strict`, `recommended-next`, `embedded-next`, `strict-next`). Raw arrays require spreading the multi-config presets as above, not the single override objects.
63
+ All 12 public config shapes remain unchanged: six objects (`ampscript`, `ssjs`, `ampscript-next`, `ssjs-next`, `unicorn-ssjs`, `unicorn-ssjs-embedded`) and six arrays (`recommended`, `embedded`, `strict`, `recommended-next`, `embedded-next`, `strict-next`). `unicornSsjs` is a function on the plugin, not one of the configs.
49
64
 
50
- Alternatively, ESLint's `defineConfig` flattens nested configuration arrays. The base SFMC presets are verified at exactly ESLint **10.0.0** and at **10.11.0**. The Unicorn composition shown here is tested only on an engine satisfying Unicorn 76's upstream floor (**10.4.0+**); it is not presented as supported on ESLint 10.0–10.3:
65
+ Alternatively, ESLint's `defineConfig` flattens nested configuration arrays:
51
66
 
52
67
  ```js
53
68
  import { defineConfig } from 'eslint/config';
@@ -62,18 +77,17 @@ export default defineConfig(
62
77
  },
63
78
  sfmc.configs.recommended,
64
79
  sfmc.configs.embedded,
65
- sfmc.configs['unicorn-ssjs'],
66
- sfmc.configs['unicorn-ssjs-embedded'],
80
+ sfmc.unicornSsjs(eslintPluginUnicorn),
67
81
  );
68
82
  ```
69
83
 
70
84
  ---
71
85
 
72
- ## Section 2 — Rules to override for SSJS (60)
86
+ ## Section 2 — Rules to override for SSJS (88)
73
87
 
74
- These 60 recommended rules introduce unavailable or unresolved APIs, conflict with recorded runtime semantics, pressure users toward unsafe changes through diagnostics, or introduce unsupported syntax. Some paths are conditionally inert under strict ES5 parsing. The override config sets each to `'off'` for SSJS. All 60 are confirmed enabled in unicorn v76.0.0's recommended configuration.
88
+ These 88 recommended rules introduce unavailable or unresolved APIs, conflict with recorded runtime semantics, pressure users toward unsafe changes through diagnostics, or introduce unsupported syntax. Some paths are conditionally inert under strict ES5 parsing. The override config sets each to `'off'` for SSJS. All 88 are enabled in unicorn v80.0.0's recommended configuration. Rows marked **(80 audit)** were added by the v80 re-audit, rows marked **(later finding)** on 2026-12-02; "since 76" means the same behaviour already existed in v76 and was missed by the v76 classification.
75
89
 
76
- ### Group A — API, runtime-semantic and diagnostic protections (52)
90
+ ### Group A — API, runtime-semantic and diagnostic protections (63)
77
91
 
78
92
  | Rule | Why it breaks SSJS | SFMC evidence |
79
93
  |---|---|---|
@@ -129,8 +143,19 @@ These 60 recommended rules introduce unavailable or unresolved APIs, conflict wi
129
143
  | [`no-redundant-comparison`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-redundant-comparison.md) | With the numeric equality gate `x === y && x > Number.MIN_VALUE && y > 0`, an editor suggestion removes `y > 0`; recorded negative `MIN_VALUE` invalidates the host-derived implication | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
130
144
  | [`no-impossible-length-comparison`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-impossible-length-comparison.md) | Diagnostic-only length comparison reasoning assumes the host's positive `Number.MIN_VALUE`, contrary to the recorded negative SSJS value | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
131
145
  | [`no-useless-coercion`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-coercion.md) | Autofix removes required coercion from `Number(Number.MIN_VALUE > 0 ? 1 : 'x')`; host evaluation selects a number, while recorded SSJS selects a string | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
132
-
133
- ### Group B — introduce or require ES6+ syntax / ES-module / async constructs (8)
146
+ | [`consistent-date-clone`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-date-clone.md) | **(80 audit, since 76)** Autofix turns `new Date(d.getTime())` into `new Date(d)`. In SSJS `new Date(d)` drops the milliseconds (verified live: `…123` becomes `…000`), while `new Date(d.getTime())` keeps them. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
147
+ | [`no-array-method-this-argument`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-method-this-argument.md) | **(80 audit, since 76)** Its second suggestion rewrites `arr.map(fn, ctx)` to `arr.map(fn.bind(ctx))`. `Function.prototype.bind` is unavailable in SSJS (the prototype is sealed; ssjs-data offers a standalone helper instead). | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
148
+ | [`no-computed-property-existence-check`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-computed-property-existence-check.md) | **(80 audit, since 76)** On plain objects (`key in map`, `map[key] !== undefined`) its suggestion is `Object.hasOwn(map, key)`, which does not exist in SSJS (verified live: `typeof` is `undefined`, the call throws). 80 skips Map/Set receivers but not plain objects. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
149
+ | [`dom-node-dataset`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/dom-node-dataset.md) | **(80 audit, since 76)** Autofix rewrites `el.hasAttribute('data-x')` to `Object.hasOwn(el.dataset, 'x')`, which throws in SSJS (`Object.hasOwn` does not exist; found by the live probe database). SSJS has no DOM, so the `setAttribute`/`removeAttribute` → `.dataset` fixes also bypass the methods of the user's own object. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
150
+ | [`no-useless-undefined`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-undefined.md) | **(80 audit, since 76)** Autofix drops trailing `undefined` arguments, e.g. `Platform.Function.Lookup("de", "v", "k", undefined)` → a 3-argument call. SFMC platform functions and Core methods are bound by argument count (see the arity catalog in ssjs-data), so removing the argument changes which overload runs or makes the call invalid. 80 narrows the variable-initializer branch but keeps the argument branch. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
151
+ | [`prefer-https`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-https.md) | **(80 audit, since 76)** Autofix rewrites every `http://` string, including XML namespace identifiers such as the SOAP namespace `http://exacttarget.com/wsdl/partnerAPI` used in hand-built SFMC SOAP envelopes. A namespace URI is an identifier, not a URL; changing it breaks the request (verified live: a SOAP Retrieve with the https namespace returns `OverallStatus` `Error` and no results). | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
152
+ | [`prefer-literal-ascii`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-literal-ascii.md) | **(80 audit, new in 80)** Autofix unescapes `\x3C/script>` to `</script>` and `\x25%=…=%\x25` to `%%=…=%%`. SSJS runs inside `<script runat="server">` (CloudPages, and mcdev deploys `.ssjs` into such blocks), so the literal text closes the block early or is evaluated as AMPscript; the escapes are deliberate. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
153
+ | [`prefer-object-iterable-methods`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-iterable-methods.md) | **(80 audit, since 76)** Autofix rewrites `Object.keys(o).map(function (k) { return o[k]; })` to `Object.values(o)` (and to `Object.entries` with a destructured `[key, value]` parameter when the key is used). Both methods are unavailable in SSJS and destructuring is ES2015. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
154
+ | [`prefer-regexp-exec`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-regexp-exec.md) | **(80 audit, new in 80)** Autofix rewrites `str.match(re)` to `re.exec(str)`. In SSJS a no-match `match()` returns a truthy `[]` while `exec()` returns `null`, and `exec()` capture groups (`m[1]`…) are undefined — the fix changes behaviour of working code. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
155
+ | [`prefer-single-replace`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-replace.md) | **(80 audit, since 76)** Autofix merges chained single-character `.replace()` calls into native `String#replaceAll`, unavailable in CloudPage probes. 80 also fixes chains that contain comments. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
156
+ | [`prefer-url-search-parameters`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-url-search-parameters.md) | **(80 audit, since 76)** Fires on ordinary query-string splitting (`query.split("&")…`) and suggests `new URLSearchParams(...)`, which does not exist in SSJS (verified live: `URL` and `URLSearchParams` are `undefined`); 80 also reports the comment-containing cases. Same treatment as the diagnostic-only pressure of `prefer-includes-over-repeated-comparisons`. | [ECMAScript built-ins](https://ssjs.guide/ecmascript-builtins/) |
157
+
158
+ ### Group B — introduce or require ES6+ syntax / ES-module / async constructs (25)
134
159
 
135
160
  | Rule | Why it breaks SSJS | SFMC evidence |
136
161
  |---|---|---|
@@ -142,17 +167,58 @@ These 60 recommended rules introduce unavailable or unresolved APIs, conflict wi
142
167
  | [`prefer-node-protocol`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md) | Pushes `node:` imports — no module system | [Engine limitations](https://ssjs.guide/engine-limitations/) |
143
168
  | [`prefer-top-level-await`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-top-level-await.md) | Pushes top-level `await` — async unsupported | [Engine limitations](https://ssjs.guide/engine-limitations/) |
144
169
  | [`prefer-export-from`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-export-from.md) | Pushes `export … from` — ES modules | [Engine limitations](https://ssjs.guide/engine-limitations/) |
170
+ | [`logical-assignment-operators`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/logical-assignment-operators.md) | **(80 audit, since 76)** Autofix turns `x = x \|\| y` into ES2021 `x \|\|= y` (also `&&=`), which the ES5 engine cannot parse. The rule does not check ecmaVersion; `eslint --fix` writes the broken file. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
171
+ | [`no-accidental-bitwise-operator`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-accidental-bitwise-operator.md) | **(80 audit, since 76)** For `x \|= ""` its suggestion is the ES2021 `\|\|=` operator, which the ES5 engine cannot parse. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
172
+ | [`no-array-callback-reference`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-callback-reference.md) | **(80 audit, since 76)** Every suggestion wraps the callback in an arrow function (`.map((element) => format(element))`), ES2015 syntax, even under ES5 parsing — same pattern as `require-array-sort-compare`. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
173
+ | [`no-array-sort-for-min-max`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-sort-for-min-max.md) | **(80 audit, since 76)** Editor suggestion replaces `arr.sort(...)[0]` with spread `Math.min(...arr)`, ES2015 syntax. 80 also suggests it when comments are present. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
174
+ | [`no-boolean-sort-comparator`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-boolean-sort-comparator.md) | **(80 audit, since 76)** Its suggestion replaces a boolean-returning comparator with the arrow function `(a, b) => a - b`, ES2015 syntax. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
175
+ | [`no-immediate-mutation`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-immediate-mutation.md) | **(80 audit, since 76)** Autofix folds `var o = {}; o["a"] = 1;` into an ES2015 computed key `{ ["a"]: 1 }`, which the ES5 engine cannot parse. 80 adds declaration+assignment merging and `checkCollections` (default on), widening the rule. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
176
+ | [`no-xor-as-exponentiation`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-xor-as-exponentiation.md) | **(80 audit, since 76)** Its only suggestion replaces `^` with the ES2016 `**` operator, which the ES5 engine cannot parse; the diagnostic pushes toward that syntax. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
177
+ | [`numeric-separators-style`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/numeric-separators-style.md) | **(80 audit, since 76)** Autofix inserts ES2021 numeric separators (`1133955` → `1_133_955`, `0xFFFFFF` → `0xFF_FF_FF`), which the ES5 engine cannot parse. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
178
+ | [`prefer-escaped-irregular-whitespace`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-escaped-irregular-whitespace.md) | **(80 audit, new in 80)** Autofix always writes ES2015 code-point escapes (`\u{A0}`, `\u{FEFF}`) regardless of ecmaVersion; the fixed file no longer parses as ES5. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
179
+ | [`prefer-logical-operator-over-ternary`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md) | **(80 audit, since 76)** Editor suggestions emit ES2020 `??` (and `?.`) for plain ES5 ternaries such as `value ? value : "none"`; 80 adds more cases. Not ES5 syntax. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
180
+ | [`prefer-simple-sort-comparator`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-simple-sort-comparator.md) | **(80 audit, since 76)** Its suggestion replaces an if/return comparator with the arrow function `(a, b) => a - b`, ES2015 syntax. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
181
+ | [`prefer-unicode-code-point-escapes`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-unicode-code-point-escapes.md) | **(80 audit, since 76)** Autofix rewrites `\u00e9` to ES2015 code-point escape `\u{E9}` (and regex escapes with the `u` flag); not ES5 syntax. 80 skips only printable-ASCII and short escapes. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
182
+ | [`no-useless-concat`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-concat.md) | **(later finding, 76 and 80)** Autofix joins string literals and writes control characters (other than short escapes such as `\n`), DEL and U+2028/U+2029 in the result as ES2015 `\u{…}` escapes, e.g. `"a" + "b\x1b"` → `'ab\u{1b}'`. The engine cannot parse them. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
183
+ | [`better-dom-traversing`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/better-dom-traversing.md) | **(later finding, 76 and 80)** Its suggestion merges chained `querySelector` calls into one selector string and writes control characters (other than short escapes such as `\n`), DEL and U+2028/U+2029 as ES2015 `\u{…}` escapes, e.g. `el.querySelector("a\x1b").querySelector("b\x1b")` → `el.querySelector(":scope a\u{1b} b\u{1b}")`. The engine cannot parse them. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
184
+ | [`no-invalid-dom-token`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-dom-token.md) | **(later finding, new in 80)** Its suggestion splits a `classList` token string into separate string arguments and writes control characters (other than short escapes such as `\n`), DEL and U+2028/U+2029 as ES2015 `\u{…}` escapes, e.g. `el.classList.add("a\x1b b")` → `el.classList.add('a\u{1b}', 'b')`. The engine cannot parse them. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
185
+ | [`no-invalid-style-set-property`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-style-set-property.md) | **(later finding, new in 80)** Its suggestion moves `!important` out of a `style.setProperty` value into a third argument and writes control characters (other than short escapes such as `\n`), DEL and U+2028/U+2029 as ES2015 `\u{…}` escapes, e.g. `"red\x1b !important"` → `'red\u{1b}', 'important'`. The engine cannot parse them. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
186
+ | [`prefer-keyboard-event-key`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-keyboard-event-key.md) | **(later finding, 76 only)** In unicorn 76 its autofix turns key codes of control characters into `key` comparisons written as ES2015 `\u{…}` escapes, e.g. `e.keyCode === 127` → `e.key === '\u{7f}'`. Unicorn 80 wrote none for key codes 0–255, but the override protects both versions. | [Engine limitations](https://ssjs.guide/engine-limitations/) |
145
187
 
146
188
  > **Regex caution:** Availability of `RegExp#test` does not establish equivalence with `.match()` or `.search()`. Recorded SSJS no-match arrays, zero-result search behavior and conflicting global-regex state evidence must be checked against the actual transformation predicate.
147
189
 
148
190
  ---
149
191
 
150
- ## Section 3 — Active rules, including conditional cases (255)
192
+ ## Unicorn 76 → 80 audit (2026-11-29)
193
+
194
+ Every rule in v80's recommended set was compared with v76: the rule source and the shared helpers it imports, its meta (fixable, suggestions, schema, defaults), and the release notes for 77.0.0–80.0.0. A differential lint harness then ran v76 and v80 over ES5 SSJS — the plugin's fixtures, the ssjs.guide examples, mcdev-ssjs-validation scripts and targeted inputs for every fix and suggestion branch reachable from ES5 — and re-parsed every fix and suggestion result as ES5. Built-in availability was taken from ssjs-data, not from general JavaScript knowledge.
195
+
196
+ | Classification | Rules | Verdict |
197
+ |---|---|---|
198
+ | Unchanged for JavaScript (refactor, non-JS languages, TypeScript or ES2015+-gated paths) | 123 | active |
199
+ | Changed, still safe (ES5-reachable output stays ES5, no new built-ins) | 111 | active |
200
+ | Changed for the worse — the unsafe output existed in 76 and 80 reaches more code | 4 | **off** |
201
+ | Unchanged but unsafe — already emitted the same unsafe output in 76 (missed by the 76 audit) | 16 | **off** |
202
+ | New in 80's recommended set | 26 | 3 off, 23 active |
203
+ | Already off since 76 | 60 | off |
204
+ | Removed from the recommended set | 1 (`no-async-promise-finally`) | — |
205
+
206
+ These counts are from 2026-11-29. On 2026-12-02 five of the rules counted active here were turned off for SSJS because their fixes or suggestions write `\u{…}` escapes (Section 2): from "Changed, still safe" `no-useless-concat`, `better-dom-traversing` and `prefer-keyboard-event-key`, and from "New in 80" `no-invalid-dom-token` and `no-invalid-style-set-property`. The 80 verdict of `prefer-keyboard-event-key` stays active; it is off because of its 76 autofix.
207
+
208
+ - **Changed for the worse:** `no-array-sort-for-min-max`, `no-immediate-mutation`, `prefer-single-replace`, `prefer-url-search-parameters`. Their v76 fixes or suggestions already emitted `replaceAll`, spread, computed keys or `URLSearchParams`; v80 now also reports and fixes code that contains comments, and `no-immediate-mutation` merges declarations with the following assignment.
209
+ - **Unsafe since 76:** `consistent-date-clone`, `dom-node-dataset`, `logical-assignment-operators`, `no-accidental-bitwise-operator`, `no-array-callback-reference`, `no-array-method-this-argument`, `no-boolean-sort-comparator`, `no-computed-property-existence-check`, `no-useless-undefined`, `no-xor-as-exponentiation`, `numeric-separators-style`, `prefer-https`, `prefer-logical-operator-over-ternary`, `prefer-object-iterable-methods`, `prefer-simple-sort-comparator`, `prefer-unicode-code-point-escapes`. Several are autofixes, so `eslint --fix` on a `.ssjs` file wrote code such as `value ||= "none"` or `1_133_955` that the engine cannot parse — also with unicorn 76.
210
+ - **New and off:** `prefer-escaped-irregular-whitespace`, `prefer-literal-ascii`, `prefer-regexp-exec`.
211
+ - **New and active:** most new rules target browser, DOM, Fetch, Intl, Temporal, URL or Promise APIs that SSJS does not have, or need ES2015+ input. `no-leading-empty-lines` does not fire on blocks extracted from HTML. `no-asterisk-prefix-in-documentation-comments` only reformats JSDoc; turn it off yourself if you keep starred JSDoc.
212
+ - **Changed and still active, worth knowing:** since v79, type-aware rules trust JSDoc `@type`/`@param`/`@returns`, so `no-unnecessary-boolean-comparison` autofixes `ok === true` to `ok` when `ok` is annotated as boolean — annotate Platform results that are the strings `"true"`/`"false"` as strings. `text-encoding-identifier-case` suggests `"utf8"` for `"UTF-8"`; do not accept that for SFMC charset arguments.
213
+ - **`no-new-array`** became safer in v80 (diagnostic only for the inferred-length case) but stays off: v76 still autofixes to `Array.from` and the v80 message points to it.
214
+
215
+ ---
216
+
217
+ ## Section 3 — Active rules, including conditional cases (252)
151
218
 
152
219
  These recommended rules are **not** disabled by the override config. Active is a policy classification, not proof that every transformation is safe in SFMC. Modern-syntax-gated paths may be inert under strict ES5 parsing; DOM, Node.js, TypeScript and custom/polyfilled-object paths require their own environment contracts. Each links to its official Unicorn documentation. See the evidence qualifications below before accepting generated changes.
153
220
 
154
- <!-- BEGIN 255-OK-LIST -->
155
- - [better-dom-traversing](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/better-dom-traversing.md)
221
+ <!-- BEGIN ACTIVE-LIST -->
156
222
  - [catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/catch-error-name.md)
157
223
  - [class-reference-in-static-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/class-reference-in-static-methods.md)
158
224
  - [consistent-assert](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-assert.md)
@@ -160,7 +226,6 @@ These recommended rules are **not** disabled by the override config. Active is a
160
226
  - [consistent-class-member-order](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-class-member-order.md)
161
227
  - [consistent-compound-words](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-compound-words.md)
162
228
  - [consistent-conditional-object-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-conditional-object-spread.md)
163
- - [consistent-date-clone](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-date-clone.md)
164
229
  - [consistent-empty-array-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-empty-array-spread.md)
165
230
  - [consistent-existence-index-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-existence-index-check.md)
166
231
  - [consistent-export-decorator-position](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-export-decorator-position.md)
@@ -170,7 +235,6 @@ These recommended rules are **not** disabled by the override config. Active is a
170
235
  - [consistent-template-literal-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-template-literal-escape.md)
171
236
  - [consistent-tuple-labels](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-tuple-labels.md)
172
237
  - [default-export-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/default-export-style.md)
173
- - [dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/dom-node-dataset.md)
174
238
  - [empty-brace-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/empty-brace-spaces.md)
175
239
  - [error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/error-message.md)
176
240
  - [escape-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/escape-case.md)
@@ -180,32 +244,26 @@ These recommended rules are **not** disabled by the override config. Active is a
180
244
  - [filename-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/filename-case.md)
181
245
  - [import-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/import-style.md)
182
246
  - [isolated-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/isolated-functions.md)
183
- - [logical-assignment-operators](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/logical-assignment-operators.md)
184
247
  - [max-nested-calls](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/max-nested-calls.md)
185
248
  - [name-replacements](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/name-replacements.md)
186
249
  - [new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/new-for-builtins.md)
187
250
  - [no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-abusive-eslint-disable.md)
188
251
  - [no-accessor-recursion](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-accessor-recursion.md)
189
- - [no-accidental-bitwise-operator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-accidental-bitwise-operator.md)
190
252
  - [no-anonymous-default-export](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-anonymous-default-export.md)
191
- - [no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-callback-reference.md)
192
253
  - [no-array-concat-in-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-concat-in-loop.md)
193
254
  - [no-array-fill-with-reference-type](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-fill-with-reference-type.md)
194
255
  - [no-array-from-fill](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-from-fill.md)
195
- - [no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-method-this-argument.md)
196
256
  - [no-array-reduce](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-reduce.md)
197
- - [no-array-sort-for-min-max](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-sort-for-min-max.md)
257
+ - [no-asterisk-prefix-in-documentation-comments](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-asterisk-prefix-in-documentation-comments.md)
198
258
  - [no-async-iterator-callback](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-async-iterator-callback.md)
199
- - [no-async-promise-finally](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-async-promise-finally.md)
200
259
  - [no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-expression-member.md)
201
260
  - [no-await-in-promise-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-in-promise-methods.md)
202
261
  - [no-blob-to-file](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-blob-to-file.md)
203
- - [no-boolean-sort-comparator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-boolean-sort-comparator.md)
204
262
  - [no-break-in-nested-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-break-in-nested-loop.md)
205
263
  - [no-canvas-to-image](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-canvas-to-image.md)
206
264
  - [no-chained-comparison](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-chained-comparison.md)
207
265
  - [no-collection-bracket-access](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-collection-bracket-access.md)
208
- - [no-computed-property-existence-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-computed-property-existence-check.md)
266
+ - [no-conflicting-constraints](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-conflicting-constraints.md)
209
267
  - [no-confusing-array-splice](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-confusing-array-splice.md)
210
268
  - [no-confusing-array-with](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-confusing-array-with.md)
211
269
  - [no-console-spaces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-console-spaces.md)
@@ -221,16 +279,25 @@ These recommended rules are **not** disabled by the override config. Active is a
221
279
  - [no-error-property-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-error-property-assignment.md)
222
280
  - [no-exports-in-scripts](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-exports-in-scripts.md)
223
281
  - [no-global-object-property-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-global-object-property-assignment.md)
224
- - [no-immediate-mutation](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-immediate-mutation.md)
282
+ - [no-incomplete-accessor-override](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-incomplete-accessor-override.md)
225
283
  - [no-incorrect-query-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-incorrect-query-selector.md)
226
284
  - [no-incorrect-template-string-interpolation](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-incorrect-template-string-interpolation.md)
285
+ - [no-ineffective-csp-directives](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-ineffective-csp-directives.md)
227
286
  - [no-invalid-argument-count](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-argument-count.md)
287
+ - [no-invalid-boolean-attribute-value](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-boolean-attribute-value.md)
228
288
  - [no-invalid-character-comparison](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-character-comparison.md)
229
289
  - [no-invalid-fetch-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-fetch-options.md)
290
+ - [no-invalid-integrity](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-integrity.md)
291
+ - [no-invalid-intl-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-intl-options.md)
292
+ - [no-invalid-property-descriptor](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-property-descriptor.md)
230
293
  - [no-invalid-remove-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-remove-event-listener.md)
294
+ - [no-invalid-response-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-response-options.md)
295
+ - [no-invalid-temporal-arithmetic](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-temporal-arithmetic.md)
296
+ - [no-invalid-url-protocol-comparison](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-url-protocol-comparison.md)
231
297
  - [no-invalid-well-known-symbol-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-well-known-symbol-methods.md)
232
298
  - [no-late-current-target-access](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-late-current-target-access.md)
233
299
  - [no-late-event-control](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-late-event-control.md)
300
+ - [no-leading-empty-lines](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-leading-empty-lines.md)
234
301
  - [no-lonely-if](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-lonely-if.md)
235
302
  - [no-loop-iterable-mutation](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-loop-iterable-mutation.md)
236
303
  - [no-magic-array-flat-depth](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-magic-array-flat-depth.md)
@@ -250,6 +317,7 @@ These recommended rules are **not** disabled by the override config. Active is a
250
317
  - [no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-object-as-default-parameter.md)
251
318
  - [no-object-methods-with-collections](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-object-methods-with-collections.md)
252
319
  - [no-optional-chaining-on-undeclared-variable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-optional-chaining-on-undeclared-variable.md)
320
+ - [no-prevent-default-in-passive-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-prevent-default-in-passive-listener.md)
253
321
  - [no-process-exit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-process-exit.md)
254
322
  - [no-return-array-push](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-return-array-push.md)
255
323
  - [no-selector-as-dom-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-selector-as-dom-name.md)
@@ -273,6 +341,7 @@ These recommended rules are **not** disabled by the override config. Active is a
273
341
  - [no-unnecessary-fetch-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-fetch-options.md)
274
342
  - [no-unnecessary-global-this](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-global-this.md)
275
343
  - [no-unnecessary-nested-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-nested-ternary.md)
344
+ - [no-unnecessary-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-parameters.md)
276
345
  - [no-unnecessary-polyfills](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-polyfills.md)
277
346
  - [no-unnecessary-slice-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-slice-end.md)
278
347
  - [no-unnecessary-string-trim](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-string-trim.md)
@@ -280,18 +349,18 @@ These recommended rules are **not** disabled by the override config. Active is a
280
349
  - [no-unreadable-for-of-expression](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-for-of-expression.md)
281
350
  - [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-iife.md)
282
351
  - [no-unreadable-object-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-object-destructuring.md)
283
- - [no-using-resource-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-using-resource-escape.md)
284
352
  - [no-unsafe-buffer-conversion](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-buffer-conversion.md)
353
+ - [no-unsafe-json-serialization](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-json-serialization.md)
285
354
  - [no-unsafe-promise-all-settled-values](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-promise-all-settled-values.md)
286
355
  - [no-unsafe-property-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-property-key.md)
287
356
  - [no-unsafe-sqlite-interpolation](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-sqlite-interpolation.md)
288
357
  - [no-unsafe-string-replacement](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-string-replacement.md)
289
358
  - [no-unused-builtin-method-return](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unused-builtin-method-return.md)
290
359
  - [no-unused-iterator-helper](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unused-iterator-helper.md)
360
+ - [no-url-in-search-params](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-url-in-search-params.md)
291
361
  - [no-useless-boolean-cast](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-boolean-cast.md)
292
362
  - [no-useless-collection-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-collection-argument.md)
293
363
  - [no-useless-compound-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-compound-assignment.md)
294
- - [no-useless-concat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-concat.md)
295
364
  - [no-useless-continue](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-continue.md)
296
365
  - [no-useless-delete-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-delete-check.md)
297
366
  - [no-useless-else](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-else.md)
@@ -304,20 +373,18 @@ These recommended rules are **not** disabled by the override config. Active is a
304
373
  - [no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-promise-resolve-reject.md)
305
374
  - [no-useless-re-export](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-re-export.md)
306
375
  - [no-useless-recursion](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-recursion.md)
307
- - [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-spread.md)
308
376
  - [no-useless-set-construction](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-set-construction.md)
377
+ - [no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-spread.md)
309
378
  - [no-useless-switch-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-switch-case.md)
310
379
  - [no-useless-template-literals](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-template-literals.md)
311
- - [no-useless-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-undefined.md)
312
- - [no-xor-as-exponentiation](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-xor-as-exponentiation.md)
380
+ - [no-using-resource-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-using-resource-escape.md)
313
381
  - [no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-zero-fractions.md)
314
382
  - [number-literal-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/number-literal-case.md)
315
- - [numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/numeric-separators-style.md)
316
383
  - [operator-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/operator-assignment.md)
317
384
  - [prefer-abort-signal-any](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-abort-signal-any.md)
318
385
  - [prefer-abort-signal-timeout](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-abort-signal-timeout.md)
319
- - [prefer-add-event-listener-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-add-event-listener-options.md)
320
386
  - [prefer-add-event-listener](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-add-event-listener.md)
387
+ - [prefer-add-event-listener-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-add-event-listener-options.md)
321
388
  - [prefer-aggregate-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-aggregate-error.md)
322
389
  - [prefer-array-from-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-from-map.md)
323
390
  - [prefer-array-from-range](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-from-range.md)
@@ -347,24 +414,22 @@ These recommended rules are **not** disabled by the override config. Active is a
347
414
  - [prefer-global-this](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-global-this.md)
348
415
  - [prefer-has-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-has-check.md)
349
416
  - [prefer-hoisting-branch-code](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-hoisting-branch-code.md)
350
- - [prefer-https](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-https.md)
351
417
  - [prefer-identifier-import-export-specifiers](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-identifier-import-export-specifiers.md)
352
418
  - [prefer-iterable-in-constructor](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-iterable-in-constructor.md)
353
- - [prefer-iterator-to-array-at-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-iterator-to-array-at-end.md)
354
419
  - [prefer-iterator-to-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-iterator-to-array.md)
355
- - [prefer-keyboard-event-key](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-keyboard-event-key.md)
420
+ - [prefer-iterator-to-array-at-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-iterator-to-array-at-end.md)
356
421
  - [prefer-location-assign](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-location-assign.md)
357
- - [prefer-logical-operator-over-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md)
358
422
  - [prefer-math-abs](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-math-abs.md)
359
423
  - [prefer-math-constants](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-math-constants.md)
360
424
  - [prefer-math-min-max](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-math-min-max.md)
361
425
  - [prefer-minimal-ternary](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-minimal-ternary.md)
362
426
  - [prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-modern-dom-apis.md)
363
427
  - [prefer-object-destructuring-defaults](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-destructuring-defaults.md)
364
- - [prefer-object-iterable-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-iterable-methods.md)
365
428
  - [prefer-observer-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-observer-apis.md)
429
+ - [prefer-options-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-options-parameter.md)
366
430
  - [prefer-path2d](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-path2d.md)
367
431
  - [prefer-private-class-fields](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-private-class-fields.md)
432
+ - [prefer-promise-static-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-promise-static-methods.md)
368
433
  - [prefer-promise-try](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-promise-try.md)
369
434
  - [prefer-promise-with-resolvers](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-promise-with-resolvers.md)
370
435
  - [prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-prototype-methods.md)
@@ -372,13 +437,12 @@ These recommended rules are **not** disabled by the override config. Active is a
372
437
  - [prefer-queue-microtask](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-queue-microtask.md)
373
438
  - [prefer-response-static-json](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-response-static-json.md)
374
439
  - [prefer-scoped-selector](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-scoped-selector.md)
440
+ - [prefer-short-escape-sequences](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-short-escape-sequences.md)
375
441
  - [prefer-simple-condition-first](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-simple-condition-first.md)
376
- - [prefer-simple-sort-comparator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-simple-sort-comparator.md)
377
442
  - [prefer-simplified-conditions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-simplified-conditions.md)
378
443
  - [prefer-single-array-predicate](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-array-predicate.md)
379
444
  - [prefer-single-call](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-call.md)
380
445
  - [prefer-single-object-destructuring](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-object-destructuring.md)
381
- - [prefer-single-replace](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-replace.md)
382
446
  - [prefer-smaller-scope](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-smaller-scope.md)
383
447
  - [prefer-split-limit](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-split-limit.md)
384
448
  - [prefer-switch](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-switch.md)
@@ -388,28 +452,96 @@ These recommended rules are **not** disabled by the override config. Active is a
388
452
  - [prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-type-error.md)
389
453
  - [prefer-type-literal-last](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-type-literal-last.md)
390
454
  - [prefer-unary-minus](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-unary-minus.md)
391
- - [prefer-unicode-code-point-escapes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-unicode-code-point-escapes.md)
392
455
  - [prefer-url-can-parse](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-url-can-parse.md)
393
456
  - [prefer-url-href](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-url-href.md)
394
- - [prefer-url-search-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-url-search-parameters.md)
395
457
  - [prefer-while-loop-condition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-while-loop-condition.md)
396
458
  - [relative-url-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/relative-url-style.md)
459
+ - [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-array-join-separator.md)
397
460
  - [require-css-escape](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-css-escape.md)
398
461
  - [require-module-attributes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-module-attributes.md)
399
462
  - [require-module-specifiers](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-module-specifiers.md)
400
463
  - [require-number-to-fixed-digits-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-number-to-fixed-digits-argument.md)
401
464
  - [require-passive-events](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-passive-events.md)
402
465
  - [require-proxy-trap-boolean-return](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-proxy-trap-boolean-return.md)
466
+ - [require-spread-parentheses](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-spread-parentheses.md)
467
+ - [require-text-decoder-streaming](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-text-decoder-streaming.md)
403
468
  - [single-line-block-comment-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/single-line-block-comment-style.md)
404
469
  - [switch-case-braces](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md)
405
470
  - [switch-case-break-position](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-break-position.md)
406
471
  - [template-indent](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/template-indent.md)
407
472
  - [text-encoding-identifier-case](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/text-encoding-identifier-case.md)
408
473
  - [throw-new-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/throw-new-error.md)
409
- - [require-array-join-separator](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-array-join-separator.md)
410
- <!-- END 255-OK-LIST -->
474
+ <!-- END ACTIVE-LIST -->
411
475
 
412
476
  **Reactivated, with bounded evidence:** `require-array-join-separator` adds an explicit comma separator, which recorded SSJS supports. `prefer-global-number-constants` replaces Number properties with globals: positive-infinity and NaN fixes have focused coverage, including shadowing guards. Its negative-infinity property branch is diagnostic-only; recorded sign differences mean accepting that diagnostic remains conditional, not a blanket constant-equivalence clearance.
413
477
 
414
478
  The HTML processor has `supportsAutofix: false`: diagnostics remain, while fixes and editor suggestions are stripped. Standalone upstream tests establish the generated outputs; suppression tests cover both public overrides and ordinary `.js`/`.mjs` non-leakage.
415
479
 
480
+ ---
481
+
482
+ ## Section 4 — Rules outside the recommended set
483
+
484
+ Unicorn's recommended preset does not enable these rules, so they run only if you turn them on yourself. They were audited on 2026-12-01. `sfmc.unicornSsjs(unicorn)` keeps your setting for the 24 non-recommended rules of unicorn 80 marked `active` and turns off the rules marked `off` or `not-applicable`. The older override configs do not cover this section: if you use them, do not enable a rule marked `off` for SSJS files.
485
+
486
+ - **active:** no fix, suggestion or report was found that leads ES5 code to something SSJS cannot run. Many of these rules are inert on ES5 code.
487
+ - **off:** a fix, suggestion or report leads to code SSJS cannot run. This includes rules that only do so with certain options, because `unicornSsjs()` does not look at your options.
488
+ - **not-applicable:** the rule does not support JavaScript in that version. ESLint rejects a config that enables it for a JavaScript file.
489
+ - **absent:** that version does not have the rule.
490
+
491
+ Where the unicorn 80 rule documentation has usable samples, those samples and the fixes and suggestions the rules write for them were run live on an Engagement CloudPage, before Core loading and with Core 1.1.5. Every rule that supports JavaScript was also checked in its source and with ES5 snippets, in both versions. Unicorn 76 had no separate live run. For `comment-content`, the replacement text can come from your own options and is not checked.
492
+
493
+ <!-- BEGIN NON-RECOMMENDED -->
494
+ | Rule | unicorn 80 | unicorn 76 | Why |
495
+ |---|---|---|---|
496
+ | [`comma-spacing`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/comma-spacing.md) | not-applicable | absent | Does not support JavaScript (languages: json, soml). |
497
+ | [`comment-content`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/comment-content.md) | active | active | Only rewrites comment text. The replacement text comes from its defaults or your own options. |
498
+ | [`consistent-arrow-return-style`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-arrow-return-style.md) | active | active | Inert on ES5 code: it only checks arrow functions. |
499
+ | [`consistent-destructuring`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-destructuring.md) | active | active | Inert on ES5 code: it only acts when the object was already destructured. |
500
+ | [`consistent-function-style`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-function-style.md) | off | off | Reports nothing by default. With an option such as `{callbacks: "arrow-function"}` it suggests `(x) => {…}` for an ES5 callback, and the `arrow-function` and `method` styles ask for syntax the engine cannot parse. |
501
+ | [`custom-error-definition`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/custom-error-definition.md) | active | active | Inert on ES5 code: it only checks classes. |
502
+ | [`id-match`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/id-match.md) | active | active | Report-only check of identifier names against your own pattern. |
503
+ | [`indent`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/indent.md) | not-applicable | absent | Does not support JavaScript (languages: css, json). |
504
+ | [`iteration-fallback-style`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/iteration-fallback-style.md) | active | active | On ES5 code it only reports `for…in` loops. Both styles, an `if` guard and an `\|\| {}` fallback, are ES3. Its documentation pairs truthiness guards with `\|\|` and `source != null` guards with `??`; `??` is ES2020, so use `\|\|` or an `if` guard. Its autofix is limited to `for…of`, which ES5 code cannot contain. |
505
+ | [`key-name-casing`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/key-name-casing.md) | not-applicable | absent | Does not support JavaScript (languages: json, soml, yml, toml). |
506
+ | [`no-array-front-mutation`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-front-mutation.md) | active | active | Report-only. `shift()` and `unshift()` work in SSJS, and an index cursor, one of the documented alternatives, is ES3. The documentation also shows `for…of` and an imported queue, which SSJS cannot run; the rule never writes them. |
507
+ | [`no-asterisk-prefix-in-documentation-comments`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md) | active | active | Only changes whitespace and asterisks inside documentation comments. Recommended in 80 (see Section 3). |
508
+ | [`no-async-promise-finally`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-async-promise-finally.md) | active | active | Inert on ES5 code: it only reports async callbacks. The `promise.finally(…)` line in its documentation is a syntax error in SSJS, but the rule never writes it. Recommended in 76. |
509
+ | [`no-barrel-files`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-barrel-files.md) | active | active | Inert on ES5 code: it only checks ES module exports. |
510
+ | [`no-deprecated-css-features`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-deprecated-css-features.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
511
+ | [`no-duplicate-css-selectors`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-css-selectors.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
512
+ | [`no-duplicate-font-family-names`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-font-family-names.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
513
+ | [`no-empty-link-text`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-empty-link-text.md) | not-applicable | absent | Does not support JavaScript (languages: markdown). |
514
+ | [`no-invalid-file-input-accept`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-file-input-accept.md) | active | active | Inert on ES5 code: in JavaScript it only checks JSX. |
515
+ | [`no-invalid-media-features`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-media-features.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
516
+ | [`no-javascript-url`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-javascript-url.md) | not-applicable | absent | Does not support JavaScript (languages: markdown). |
517
+ | [`no-keyword-prefix`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-keyword-prefix.md) | active | active | Report-only naming check; renaming an identifier is ES3. |
518
+ | [`no-loss-of-precision`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-loss-of-precision.md) | not-applicable | absent | Does not support JavaScript (languages: css, json, toml, soml). |
519
+ | [`no-manually-wrapped-comments`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-manually-wrapped-comments.md) | active | active | Only joins lines of comments. |
520
+ | [`no-missing-local-resource`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-missing-local-resource.md) | active | active | Inert on ES5 code: in 80, its only JavaScript check is for `new URL(…, import.meta.url)`; 76 has no JavaScript check. |
521
+ | [`no-nesting-with-mixed-specificity`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nesting-with-mixed-specificity.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
522
+ | [`no-redundant-nested-style-rules`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-nested-style-rules.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
523
+ | [`no-repeated-call-wrappers`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-repeated-call-wrappers.md) | active | absent | Report-only. Moving the wrapper into the function adds no new syntax or built-in. |
524
+ | [`no-unknown-css-annotations`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-css-annotations.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
525
+ | [`no-unknown-pseudo-selectors`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-pseudo-selectors.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
526
+ | [`no-unnecessary-default-arguments`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-default-arguments.md) | active | absent | Inert on ES5 code: it needs parameter or destructuring defaults. |
527
+ | [`no-unreadable-new-expression`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unreadable-new-expression.md) | active | active | Report-only. Splitting the expression into separate statements is ES3. |
528
+ | [`no-unsafe-dom-html`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-dom-html.md) | active | active | Report-only check of browser DOM calls such as `innerHTML` and never writes code. As with the other DOM rules, it has nothing useful to check in SSJS; its advice, such as `setHTML()`, is for browsers. |
529
+ | [`no-unscoped-css-nesting-selector`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unscoped-css-nesting-selector.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
530
+ | [`no-unused-properties`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unused-properties.md) | active | active | Report-only. Removing an unused property adds no new syntax or built-in. |
531
+ | [`prefer-dispose`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dispose.md) | active | active | Inert on ES5 code: it only acts on resources declared with `const` or `let`. |
532
+ | [`prefer-error-is-error`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-error-is-error.md) | off | off | Autofix turns `x instanceof Error` and the `Object.prototype.toString` check into `Error.isError(x)`, which does not exist in SSJS. |
533
+ | [`prefer-explicit-viewport-units`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-explicit-viewport-units.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
534
+ | [`prefer-import-meta-properties`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-import-meta-properties.md) | active | active | Inert on ES5 code: it only checks code that uses `import.meta`. |
535
+ | [`prefer-iterator-concat`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterator-concat.md) | active | active | Inert on ES5 code: it only checks arrays built from spread elements. |
536
+ | [`prefer-json-import`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-json-import.md) | active | active | Inert on ES5 code: it only runs on ES modules, and SSJS is linted as a script. |
537
+ | [`prefer-media-feature-range-syntax`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-media-feature-range-syntax.md) | absent | not-applicable | Does not support JavaScript (languages: css). |
538
+ | [`prefer-regexp-escape`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-regexp-escape.md) | off | off | Replaces a hand-written regular expression escape with `RegExp.escape(string)`, which does not exist in SSJS. |
539
+ | [`prefer-short-arrow-method`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-short-arrow-method.md) | active | active | Inert on ES5 code: it only checks shorthand methods. |
540
+ | [`prefer-temporal`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-temporal.md) | off | off | Suggests `Temporal.Now.*` for `new Date()`, autofixes `Date.now()` when `checkDateNow` is set, and asks for Temporal in place of other `Date` calls. `Temporal` does not exist in SSJS. |
541
+ | [`prefer-uint8array-base64`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-uint8array-base64.md) | off | off | Fixes and suggestions use `Uint8Array.fromBase64()` and `toBase64()`, which do not exist in SSJS. |
542
+ | [`prefer-uint8array-hex`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-uint8array-hex.md) | off | off | Fixes and suggestions use `Uint8Array.fromHex()` and `toHex()`, which do not exist in SSJS. The probe of `buffer.toHex()` ran only because its generated fixture supplies `toHex`. |
543
+ | [`require-frontmatter-fields`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-frontmatter-fields.md) | not-applicable | active | Does not support JavaScript in 80. In 76 it does, but it only checks YAML frontmatter. |
544
+ | [`require-post-message-target-origin`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-post-message-target-origin.md) | off | off | For any one-argument `x.postMessage(data)` call it suggests adding `self.location.origin`, `x.location.origin` or `"*"`. SSJS has no browser `self` or `window`, and the method is not the browser one, so the extra argument changes its call. The probe samples ran only because their fixtures supply those objects. |
545
+ | [`string-content`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/string-content.md) | off | off | Reports nothing without options. With `patterns`, its fix or suggestion rewrites the whole string literal and writes control characters (other than short escapes such as `\n`), DEL, U+2028/U+2029 and lone surrogates as ES2015 `\u{…}` escapes, even when the replacement text is plain. The engine cannot parse them. |
546
+ | [`try-complexity`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/try-complexity.md) | active | active | Report-only limit on decisions inside a `try` block. Moving code out of the block adds no new syntax or built-in. |
547
+ <!-- END NON-RECOMMENDED -->