Miss any of our Open RFC calls?Watch the recordings here! »

@faasjs/eslint-config-vue

0.0.2-beta.55 • Public • Published

@faasjs/eslint-config-vue

FaasJS 对于使用 Vue 项目的 ESLint 默认规则。

License: MIT NPM Stable Version NPM Beta Version

Installation

yarn add -D @faasjs/eslint-config-vue

Usage

  1. Put eslintConfig to package.json
"eslintConfig"{
  "extends": [
    "@faasjs/vue"
  ]
}
  1. Running ESLint from command line
eslint --ext .ts,.vue --fix src

VSCode integration

Example .vscode/settings.json:

{
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    }
  ]
}

Keywords

none

Install

npm i @faasjs/eslint-config-vue

DownloadsWeekly Downloads

3

Version

0.0.2-beta.55

License

MIT

Unpacked Size

3.86 kB

Total Files

4

Last publish

Collaborators

  • avatar