Skip to content

Commit

Permalink
Prettier eslint collision
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 11, 2023
1 parent 0386843 commit 424a4bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TemplateMap.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable indent */

import { DepGraph as DependencyGraph } from "dependency-graph";
import { isPlainObject } from "@11ty/eleventy-utils";
import debugUtil from "debug";
Expand Down Expand Up @@ -78,7 +80,6 @@ class TemplateMap {
return str.slice("collections.".length);
}
// Fixes #2851
// eslint-disable-next-line quotes
if (str.startsWith("collections['") || str.startsWith('collections["')) {
return str.slice("collections['".length, -2);
}
Expand Down

0 comments on commit 424a4bf

Please sign in to comment.