Have ideas to improve npm?Join in the discussion! »

    @faasjs/eslint-config-vue

    0.0.2-beta.193 • 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

    198

    Version

    0.0.2-beta.193

    License

    MIT

    Unpacked Size

    2.73 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar