UNPKG

stylelint

Version:

A mighty CSS linter that helps you avoid errors and enforce conventions.

13 lines (11 loc) 361 B
import { nestingSupportedAtKeywords } from '../reference/atKeywords.mjs'; export const atRuleRegexes = { mediaName: /^media$/i, keyframesName: /^(-(o|moz|ms|webkit)-)?keyframes$/i, propertyName: /^property$/i, importName: /^import$/i, unsupportedNestingNames: new RegExp( `^((?!${[...nestingSupportedAtKeywords.values()].join('|')}).)*$`, 'i', ), };