Skip to content

TsBoot/eslint-config-tsboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

使用方法

yarn add  -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-tsboot
// 。eslintrc.json
{
    "env": {
        "browser": false,
        "node": true,
        "commonjs": true,
        "es2021": true
    },
    "extends": [
        "eslint:recommended",
        "plugin:@typescript-eslint/eslint-recommended",
        "plugin:@typescript-eslint/recommended",
        "tsboot"
    ],
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
        "ecmaVersion": 12
    },
    "plugins": [
        "@typescript-eslint"
    ],
      "settings": {
        "import/resolver": {
          "node": {
            "extensions": [
              ".ts",
              ".js",
              ".json",
              ".node"
            ],
            "paths": [
              "src"
            ]
          }
        }
      }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published