UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

12 lines (11 loc) 319 B
import { buildRegexJsonSchema } from './common-json-schemas.js' import { regexScopes } from '../../types/scoped-regex-option.js' var scopedRegexJsonSchema = buildRegexJsonSchema({ additionalProperties: { scope: { enum: [...regexScopes], type: 'string', }, }, }) export { scopedRegexJsonSchema }