0.4.2 • Published 5 months ago

@viso/eslint-config v0.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Viso ESLint Config

English | 中文

RViso's ESLint configurations. you can use this package to lint your JavaScript, TypeScript, and Vue3 projects.

Installation

To install this package, run the following command:

npm install eslint @viso/eslint-config@latest --save-dev

Usage

Create a .eslintrc file in the root directory of your project with the following content:

{
  "extends": ["@viso/eslint-config"]
}

Vscode Settings

If you are using Visual Studio Code, you can add the following settings to your settings.json file:

{
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "eslint.enable": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "vue",
    "html",
    "vue-html",
    "json",
    "jsonc",
    "markdown",
    "yaml"
  ]
}

To make these settings take effect, you need to install the following plugins:

License

MIT

Related

0.3.7

6 months ago

0.4.1

5 months ago

0.4.0

6 months ago

0.4.2

5 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago