1.0.1 • Published 1 year ago

@zhaojiakuncn/eslint-config v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@unnb/eslint-config

@antfu/eslint-config

Install

pnpm i -D @zhaojiakuncn/eslint-config

Config

Create .eslintrc file in your project root directory, and add the following content:

{
    "extends": "@zhaojiakuncn"
}

Or add the following content to your package.json:

{
    "eslintConfig": {
        "extends": "@zhaojiakuncn"
    }
}

Config VS Code

Install VS Code ESLint extension and create .vscode/settings.json

{
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "editor.formatOnSave": false
    // "prettier.enable": true,
}
1.0.1

1 year ago

1.0.0

1 year ago