@electron/lint-roller 1.12.1 → 1.13.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.
@@ -24,5 +24,6 @@
24
24
  },
25
25
  "single-h1": false,
26
26
  "no-inline-html": false,
27
- "no-angle-brackets": false
27
+ "no-angle-brackets": false,
28
+ "no-curly-braces": false
28
29
  }
@@ -890,7 +890,7 @@ var require_helpers = __commonJS({
890
890
  var emd002_exports = {};
891
891
  __export(emd002_exports, {
892
892
  description: () => description,
893
- function: () => EMD001,
893
+ function: () => EMD002,
894
894
  names: () => names,
895
895
  tags: () => tags
896
896
  });
@@ -7889,7 +7889,7 @@ var names = ["EMD002", "no-angle-brackets"];
7889
7889
  var description = "No unescaped opening angle brackets in text (does not play nice with MDX)";
7890
7890
  var tags = ["brackets"];
7891
7891
  var UNESCAPED_REGEX = /(?<!\\)<(?!\s)/g;
7892
- function EMD001(params, onError) {
7892
+ function EMD002(params, onError) {
7893
7893
  (0, import_helpers.filterTokens)(params, "inline", (token) => {
7894
7894
  for (const childToken of token.children) {
7895
7895
  if (childToken.type === "text" && childToken.markup !== "&lt;" && childToken.markup !== "&#60;" && childToken.content.includes("<") && childToken.line.match(UNESCAPED_REGEX) !== null) {
@@ -9,7 +9,7 @@ export const tags = ['brackets'];
9
9
 
10
10
  const UNESCAPED_REGEX = /(?<!\\)<(?!\s)/g;
11
11
 
12
- function EMD001(params, onError) {
12
+ function EMD002(params, onError) {
13
13
  filterTokens(params, 'inline', (token) => {
14
14
  for (const childToken of token.children) {
15
15
  // childToken.line has the raw content, but may also contain
@@ -44,4 +44,4 @@ function EMD001(params, onError) {
44
44
  });
45
45
  };
46
46
 
47
- export { EMD001 as function };
47
+ export { EMD002 as function };