快速开始

  • 安装以下 vscode 必备插件
    • ESLint
    • Prettier - Code formatter
    • Vetur
  • 拉取 intersense 代码,npm i
  • that's all

vscode 会在每次文件保存同时自动格式化

关键配置文件如下

  • .vscode/setting.json (in git)
  • .editorconfig (in git)
  • .eslintrc.js (in git)
  • .eslintignore (in git)
  • .prettierrc.js (in git)
  • .prettierignore (in git)

相关 npm 插件

  • eslint
  • eslint-config-airbnb-base
  • eslint-config-prettier
  • eslint-plugin-import
  • eslint-plugin-prettier
  • eslint-plugin-vue
  • prettier
npm i eslint eslint-config-airbnb-base eslint-config-prettier eslint-plugin-import eslint-plugin-prettier eslint-plugin-vue prettier -D

results matching ""

    No results matching ""