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
.sync
Checklist
Tell us about your environment
6.7.2
7.19.1
14
Windows 10
Please show your full configuration:
module.exports = { root: true, parserOptions: { parser: 'babel-eslint' }, env: { browser: true, node: true, 'jest/globals': true }, extends: [ 'standard', 'plugin:vue/recommended', 'plugin:vuetify/base', 'plugin:vuetify/recommended' ], plugins: [ 'vue', 'jest', 'import' ], settings: { 'import/resolver': { alias: { map: [ ['@', './src'] ], extensions: ['.vue', '.js', '.gql'] } } }, rules: { 'import/extensions': [ 'error', { 'vue': 'always', 'mixin': 'never', 'js': 'never', 'gql': 'always' } ], 'no-console': 'off', 'no-debugger': 'warn', 'no-return-await': 'off', 'vue/v-slot-style': [ 'warn', { atComponent: 'v-slot', default: 'longform', named: 'longform' } ], 'vue/html-closing-bracket-newline': [ 'error', { singleline: 'never', multiline: 'never' } ], 'vue/html-self-closing': [ 'error', { html: { void: 'always', normal: 'never', component: 'never' }, svg: 'always', math: 'always' } ] }, globals: {} }
What did you do?
<template> <account-details-form :customer-number.sync="customerNumber"></account-details-form> </template> <script> import AccountDetailsForm from '@/components/Accounts/AccountDetailsForm.vue' export default { name: 'AccountDetailsDialog', components: { AccountDetailsForm }, props: { customerNumber: { type: [Number, String], required: true } }, data () { return { isDialogOpen: false, form: {} } } } </script>
What did you expect to happen?
That eslint would flag the :customer-number.sync="customerNumber" as an error for mutating a prop
:customer-number.sync="customerNumber"
What actually happened?
It does not
Repository to reproduce this issue
The repo seems unnecessary, eslint isn't breaking.
The text was updated successfully, but these errors were encountered:
vue/no-mutating-props
Successfully merging a pull request may close this issue.
Checklist
Tell us about your environment
6.7.2
7.19.1
14
(I think?)Windows 10
Please show your full configuration:
What did you do?
What did you expect to happen?
That eslint would flag the
:customer-number.sync="customerNumber"
as an error for mutating a propWhat actually happened?
It does not
Repository to reproduce this issue
The repo seems unnecessary, eslint isn't breaking.
The text was updated successfully, but these errors were encountered: