@ntnyq/eslint-config 2.0.0 → 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.
Files changed (2) hide show
  1. package/README.md +5 -6
  2. package/package.json +3 -3
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`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "description": "ESLint flat config of ntnyq",
6
6
  "keywords": [
7
7
  "eslint",
@@ -41,14 +41,14 @@
41
41
  "prepare": "husky",
42
42
  "release": "run-s release:check release:version",
43
43
  "release:check": "run-s clean build lint typecheck",
44
- "release:version": "bumpp && npm publish --tag next",
44
+ "release:version": "bumpp && npm publish",
45
45
  "typecheck": "tsc --noEmit"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
50
  "peerDependencies": {
51
- "eslint": "^8.57.0"
51
+ "eslint": "^9.0.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "@eslint/js": "^9.1.1",