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
inheritAttrs
https://vuejs.org/api/sfc-script-setup.html#usage-alongside-normal-script
'vue/component-tags-order': ['error', { order: ['script', 'template', 'style'], }],
/** * @type {import('eslint').Linter.Config} */ module.exports = { extends: '@antfu', ignorePatterns: '*.json', rules: { '@typescript-eslint/no-unused-vars': 'off', 'vue/component-tags-order': ['error', { order: ['script:not([setup])', 'script[setup]', 'template', 'style'], }], }
with your config and overridden config still getting error, and eslint fix move normal script content into script setup
eslint fix
script setup
<script></script> <script setup> export default { inheritAttrs: false } </script>
The text was updated successfully, but these errors were encountered:
'import/first': 'off',
Sorry, something went wrong.
chore: support sfc normal scripts
9fe3cd5
ref: antfu/eslint-config#81
No branches or pull requests
https://vuejs.org/api/sfc-script-setup.html#usage-alongside-normal-script
with your config and overridden config still getting error, and
eslint fix
move normal script content intoscript setup
The text was updated successfully, but these errors were encountered: