UNPKG

eslint-plugin-vue-scoped-css

Version:
11 lines (10 loc) 361 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isSupportedStyleLang = isSupportedStyleLang; exports.escapeRegExp = escapeRegExp; function isSupportedStyleLang(lang) { return lang === "css" || lang === "scss" || lang === "stylus"; } function escapeRegExp(value) { return value.replace(/[$(-+.?[-^{-}]/gu, "\\$&"); }