eslint-plugin-sfmc 4.1.1 → 4.1.2

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.
package/README.md CHANGED
@@ -189,6 +189,7 @@ import eslintPluginUnicorn from 'eslint-plugin-unicorn';
189
189
  export default [
190
190
  eslintPluginUnicorn.configs.recommended, // you opt in — registers the `unicorn` plugin
191
191
  ...sfmc.configs.recommended,
192
+ ...sfmc.configs.embedded, // AMPscript + SSJS embedded in HTML (<script runat="server">)
192
193
  ...sfmc.configs['unicorn-ssjs'], // OPTIONAL: off the 46 SFMC-incompatible unicorn rules for SSJS
193
194
  ...sfmc.configs['unicorn-ssjs-embedded'], // OPTIONAL: same override for SSJS embedded in HTML (<script runat="server">)
194
195
  ];
@@ -24,6 +24,7 @@ import eslintPluginUnicorn from 'eslint-plugin-unicorn';
24
24
  export default [
25
25
  eslintPluginUnicorn.configs.recommended, // you opt in — registers the `unicorn` plugin
26
26
  ...sfmc.configs.recommended,
27
+ ...sfmc.configs.embedded, // AMPscript + SSJS embedded in HTML (<script runat="server">)
27
28
  ...sfmc.configs['unicorn-ssjs'], // OPTIONAL: off the 46 SFMC-incompatible unicorn rules for SSJS
28
29
  ...sfmc.configs['unicorn-ssjs-embedded'], // OPTIONAL: same override for SSJS embedded in HTML (<script runat="server">)
29
30
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-sfmc",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "ESLint plugin for Salesforce Marketing Cloud Engagement+Next - AMPscript, Server-Side JavaScript (SSJS) and Handlebars",
5
5
  "type": "module",
6
6
  "main": "src/index.js",