2.3.0 • Published 9 months ago

@andyluo/eslint-config v2.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 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
  }
}
2.3.0

9 months ago

2.2.1

9 months ago

2.2.0

9 months ago

2.1.0

9 months ago

2.0.1

9 months ago

2.0.0

9 months ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.4

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago