保存更改引号时的VSCode格式

时间:2020-05-09 09:06:23

标签: visual-studio-code eslint prettier

保存时,引号从反引号-> ´ <-(反之亦然)变为"

发件人:

module.exports = {
  siteMetadata: {
    title: `Gatsby Default Starter`,
    description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
    author: `@gatsbyjs`,
  },

module.exports = {
  siteMetadata: {
    title: "Gatsby Default Starter",
    description:
      "Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.",
    author: "@gatsbyjs",
  },

如何预防?

我使用更漂亮和带有默认值的eslint

0 个答案:

没有答案