/** * @author Yosuke Ota * See LICENSE file in root directory for full license. */ 'use strict' const { getStyleVariablesContext } = require('../utils/style-variables') const utils = require('../utils') const casing = require('../utils/casing') /** * `casing.camelCase()` converts the beginning to lowercase, * but does not convert the case of the beginning character when converting with Vue3. * @see https://github.com/vuejs/vue-next/blob/2749c15170ad4913e6530a257db485d4e7ed2283/packages/shared/src/index.ts#L116 * @param {string} str */ function camelize(str) { return str.replace(/-(\w)/g, (_, c) => (c ? c.toUpperCase() : '')) } module.exports = { // eslint-disable-next-line eslint-plugin/prefer-message-ids meta: { type: 'problem', docs: { description: 'prevent `