packages/@vue/cli-plugin-eslint/ui/configDescriptor.js
function getDefaultValue (rule, data) {
  const { category: ruleCategory } = rule.meta.docs
  const currentCategory = getEslintConfigName(data.eslint)

  if (!currentCategory || ruleCategory === undefined) return RULE_SETTING_OFF

  return CATEGORIES.indexOf(ruleCategory) <= CATEGORIES.indexOf(currentCategory.split('/')[1])
    ? RULE_SETTING_ERROR
    : RULE_SETTING_OFF
}
function getDefaultValue (rule, data) {
  const { category: ruleCategory } = rule.meta.docs
  const currentCategory = getEslintConfigName(data.eslint)

  if (!currentCategory || ruleCategory === undefined) return RULE_SETTING_OFF

  return CATEGORIES.indexOf(ruleCategory) <= CATEGORIES.indexOf(currentCategory.split('/')[1])
    ? RULE_SETTING_ERROR
    : RULE_SETTING_OFF
}
function getDefaultValue ( rule , data ) { const { category : ruleCategory } = rule . meta . docs const currentCategory = getEslintConfigName ( data . eslint ) if ( ! currentCategory || ruleCategory === undefined ) return RULE_SETTING_OFF return CATEGORIES . indexOf ( ruleCategory ) <= CATEGORIES . indexOf ( currentCategory . split ( '/' ) [ 1 ] ) ? RULE_SETTING_ERROR : RULE_SETTING_OFF }
Sets default value regarding selected global config
Sets default value regarding selected global config