@ntnyq/eslint-config 2.0.0-beta.9 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,23 +3,22 @@
3
3
  > Flat ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, Prettier.
4
4
 
5
5
  [![CI](https://github.com/ntnyq/eslint-config/workflows/CI/badge.svg)](https://github.com/ntnyq/eslint-config/actions)
6
- [![NPM VERSION](https://img.shields.io/npm/v/@ntnyq/eslint-config/next.svg)](https://www.npmjs.com/package/@ntnyq/eslint-config/v/next)
6
+ [![NPM VERSION](https://img.shields.io/npm/v/@ntnyq/eslint-config/latest.svg)](https://www.npmjs.com/package/@ntnyq/eslint-config/v/latest)
7
7
 
8
8
  ## Install
9
9
 
10
10
  ```bash
11
- pnpm add @ntnyq/eslint-config@next eslint-define-config -D
11
+ pnpm add @ntnyq/eslint-config -D
12
12
  ```
13
13
 
14
14
  ## Usage
15
15
 
16
- Config in `eslint.config.js`:
16
+ Config in `eslint.config.{[cm]?js}`:
17
17
 
18
18
  ```js
19
- import { defineFlatConfig } from 'eslint-define-config'
20
- import { all } from '@ntnyq/eslint-config'
19
+ import { ntnyq } from '@ntnyq/eslint-config'
21
20
 
22
- export default defineFlatConfig(all)
21
+ export default ntnyq()
23
22
  ```
24
23
 
25
24
  Make sure to config `"eslint.experimental.useFlatConfig": true` in `.vscode/settings.json`
@@ -27,6 +26,7 @@ Make sure to config `"eslint.experimental.useFlatConfig": true` in `.vscode/sett
27
26
  ## Credits
28
27
 
29
28
  - [@sxzz/eslint-config](https://github.com/sxzz/eslint-config)
29
+ - [@antfu/eslint-config](https://github.com/antfu/eslint-config)
30
30
 
31
31
  ## License
32
32