1.1.4 • Published 11 months ago

@andyluo/eslint-config v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@andyluo/eslint-config

npm

Extends @antfu/eslint-config

Usage

Install

npm install eslint @andyluo/eslint-config -D
pnpm add -D eslint @andyluo/eslint-config

Config .eslint.config.js

import andyluo from '@andyluo/eslint-config'
export default [
  andyluo,
]

Config .eslintignore

dist
node_modules

package.json

For example:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

Config VS Code auto fix

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

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

11 months ago

1.1.3

12 months ago

1.0.4

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.2

2 years ago