UNPKG

@html-eslint/eslint-plugin

Version:
25 lines 955 B
/** * Checks a given name follows `kebab-case` or not. * @param {string} name name to check * @returns {boolean} `true` if a name follows `kebab-case`, otherwise `false`. */ export function isKebabCase(name: string): boolean; /** * Checks a given name follows `snake_case` or not. * @param {string} name name to check * @returns {boolean} `true` if a name follows `snake_case`, otherwise `false`. */ export function isSnakeCase(name: string): boolean; /** * Checks a given name follows `PascalCase` or not. * @param {string} name name to check * @returns {boolean} `true` if a name follows `PascalCase`, otherwise `false`. */ export function isPascalCase(name: string): boolean; /** * Checks a given name follows `camelCase` or not. * @param {string} name name to check * @returns {boolean} `true` if a name follows `camelCase`, otherwise `false`. */ export function isCamelCase(name: string): boolean; //# sourceMappingURL=naming.d.ts.map