From c3ca5a328d9352d83960b25f598333e09f045214 Mon Sep 17 00:00:00 2001 From: VladBrok Date: Sun, 21 Apr 2024 15:15:51 +0200 Subject: [PATCH] fix lint errors --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index 1120a27..34cfd56 100644 --- a/index.js +++ b/index.js @@ -2,9 +2,6 @@ let valueParser = require('postcss-value-parser'); const PREFERS_COLOR_ONLY = /^\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)$/ const PREFERS_COLOR = /\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/g -const LIGHT_DARK = - /light-dark\(\s*((?:[^(),]|\(.+\))+?)\s*,\s*((?:[^(),]|\(.+\))+?)\s*\)/gs -const STRING = /"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/dg function escapeRegExp(string) { return string.replace(/[$()*+.?[\\\]^{|}-]/g, '\\$&')