We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checklist
Tell us about your environment
Please show your full configuration:
module.exports = { root: true, env: { browser: true, node: true }, parserOptions: { parser: 'babel-eslint' }, extends: [ '@nuxtjs', 'prettier', 'prettier/vue', 'plugin:prettier/recommended', 'plugin:nuxt/recommended', 'plugin:vue-a11y/base', 'plugin:cypress/recommended', 'plugin:@intlify/vue-i18n/recommended' ], plugins: ['prettier', '@intlify/vue-i18n', 'vue-a11y', 'cypress'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', // https://eslint.org/docs/rules/padding-line-between-statements 'padding-line-between-statements': [ 'error', { blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' }, { blankLine: 'any', prev: ['const', 'let', 'var'], next: ['const', 'let', 'var'] }, { blankLine: 'always', prev: ['case', 'default'], next: '*' }, { blankLine: 'always', prev: 'directive', next: '*' }, { blankLine: 'always', prev: 'function', next: '*' }, { blankLine: 'always', prev: '*', next: 'function' }, { blankLine: 'always', prev: 'if', next: '*' }, { blankLine: 'always', prev: '*', next: 'if' }, { blankLine: 'any', prev: 'directive', next: 'directive' } ], 'lines-between-class-members': ['error', 'always'], 'prefer-template': 'error', 'vue/prop-name-casing': ['error', 'camelCase'], 'vue/attribute-hyphenation': 'off', 'vue/component-name-in-template-casing': [ 'error', 'PascalCase', { registeredComponentsOnly: false, ignores: ['/^component/', '/^client-only/'] } ], 'vue/new-line-between-multi-line-property': [ 'error', { minLineOfMultilineProperty: 2 } ], 'vue/require-name-property': 'error', 'vue/object-curly-spacing': ['error', 'always'], 'vue/padding-line-between-blocks': ['error', 'always'], 'nuxt/no-cjs-in-config': 'off', 'nuxt/require-func-head': ['error'], 'import/no-mutable-exports': 'off', // https://eslint-plugin-vue-i18n.intlify.dev/rules/#recommended '@intlify/vue-i18n/no-html-messages': ['error'], '@intlify/vue-i18n/no-missing-keys': ['error'], '@intlify/vue-i18n/no-raw-text': 'off', '@intlify/vue-i18n/no-v-html': 'error', '@intlify/vue-i18n/key-format-style': ['error', 'camelCase'], '@intlify/vue-i18n/no-duplicate-keys-in-locale': [ 'error', { ignoreI18nBlock: false } ], '@intlify/vue-i18n/no-dynamic-keys': 'error', '@intlify/vue-i18n/no-unused-keys': [ 'off', { extensions: ['.js', '.vue'] } ], 'vue-a11y/label-has-for': 'off', 'vue-a11y/form-has-label': 'off', 'vue-a11y/no-onchange': 'off', 'vue-a11y/click-events-have-key-events': 'off' }, overrides: [ { // https://stackoverflow.com/a/50101673/241465 files: ['*.spec.js'], rules: { 'no-unused-expressions': 'off' } } ], settings: { 'vue-i18n': { localeDir: 'locales/*.json' } }, ignorePatterns: ['ios/*', 'android/*'] }
What did you do?
<template> <Link :to="to" class="flex items-center"> <span v-if="prefixIcon || $slots.prefix" class="mr-1"> <slot name="prefix"> <FontAwesomeIcon v-if="prefixIcon" :icon="prefixIcon" fixedWidth /> </slot> </span> <slot /> </Link> </template>
What did you expect to happen? No errors
What actually happened?
The text was updated successfully, but these errors were encountered:
Upgrade vue-eslint-parser to 7.6.0
29fc712
close #1292 close #1300 close #1439
Upgrade vue-eslint-parser to 7.6.0 (#1448)
3878fc4
Successfully merging a pull request may close this issue.
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No errors
What actually happened?
The text was updated successfully, but these errors were encountered: