Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Eslint rules says use single quotes but upon autosave it corrects this to double quotes which then comes up as an error....

I've followed the Eslint rules on https://eslint.org/docs/rules/quotes but the autosave function refuses to accept this... this also goes for extra semi and spacing


Correct code:

<script>
    export default {
      name: 'Homepage',
      data () {
        return {
          msg: 'Olympian'
        }
      }
    }
   </script>



When saving this happens:

<script>
    export default {
      name: "Homepage",
      data() {
        return {
          msg: "Olympian"
        };
      }
    };
   </script>


What I have tried:

I've tried configuring the User settings but no avial
Posted
Updated 19-May-19 6:28am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900