Fix linting

This commit is contained in:
Sindre Sorhus 2018-02-15 00:41:45 +07:00
parent 576d8d2171
commit 12d1276b36
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,4 @@
/* eslint-disable unicorn/no-unsafe-regex */
'use strict';
const TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;