4.0.2 • Published 10 months ago
@alwynou/eslint-config v4.0.2
@alwynou/eslint-config
Flat ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, Prettier.
Features
- Support Vue 2 and 3 out-of-box.
- Select the required file types as needed.
- Support JSON(5), YAML, Markdown...
Install
npm i -D @alwynou/eslint-config
Usage
In VScode should add config:
eslint.experimental.useFlatConfig: true
current.
// eslint.config.js
import { all } from '@alwynou/eslint-config'
export default defineFlatConfig(all)
Custom Config
import { alwynou } from '@alwynou/eslint-config'
export default alwynou(
[
/* your custom config */
],
{ vue: true, prettier: true, markdown: true }
)
License
3.2.2
10 months ago
3.2.1
10 months ago
3.2.5
10 months ago
3.2.4
10 months ago
3.2.3
10 months ago
4.0.1
10 months ago
4.0.0
10 months ago
4.0.2
10 months ago
3.1.2
10 months ago
3.2.0
10 months ago
3.1.1
10 months ago
3.1.0
10 months ago
3.0.0
11 months ago
0.27.2
2 years ago
0.26.2
2 years ago
0.27.0
2 years ago
0.25.3
2 years ago