From 08b700bb14e5e12c1dff283e2eef729816a97f15 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 26 Jun 2022 20:57:06 -0300 Subject: lots of fixes from eslint --- src/util/wiki-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/wiki-data.js') diff --git a/src/util/wiki-data.js b/src/util/wiki-data.js index 65eb7d7..3e564b9 100644 --- a/src/util/wiki-data.js +++ b/src/util/wiki-data.js @@ -9,7 +9,7 @@ export function getKebabCase(name) { .split(' ') .join('-') .replace(/&/g, 'and') - .replace(/[^a-zA-Z0-9\-]/g, '') + .replace(/[^a-zA-Z0-9-]/g, '') .replace(/-{2,}/g, '-') .replace(/^-+|-+$/g, '') .toLowerCase(); -- cgit 1.3.0-6-gf8a5