@greenymcgee/next-eslint-config 0.1.1 → 0.1.3
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 +25 -2
- package/package.json +13 -1
package/README.md
CHANGED
|
@@ -4,14 +4,37 @@ My ESLint config for Next.js projects.
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
+
### npm
|
|
8
|
+
|
|
7
9
|
```bash
|
|
8
|
-
# npm
|
|
9
10
|
npm install -D @greenymcgee/eslint-config
|
|
11
|
+
```
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
### pnpm
|
|
14
|
+
|
|
15
|
+
```bash
|
|
12
16
|
pnpm add -D @greenymcgee/eslint-config
|
|
13
17
|
```
|
|
14
18
|
|
|
19
|
+
### Peer Dependencies
|
|
20
|
+
- @vitest/eslint-plugin
|
|
21
|
+
- eslint
|
|
22
|
+
- eslint-config-next
|
|
23
|
+
- eslint-plugin-simple-import-sort
|
|
24
|
+
|
|
25
|
+
This script excludes the dependencies included by a Next.js project setup.
|
|
26
|
+
|
|
27
|
+
### npm
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -D @vitest/eslint-plugin eslint-plugin-simple-import-sort
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### pnpm
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pnpm add -D @vitest/eslint-plugin eslint-plugin-simple-import-sort
|
|
37
|
+
```
|
|
15
38
|
|
|
16
39
|
## Usage
|
|
17
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenymcgee/next-eslint-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/greenymcgee/tacklebox.git",
|
|
7
|
+
"directory": "packages/next-eslint-config"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/greenymcgee/tacklebox/tree/main/packages/next-eslint-config",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/greenymcgee/tacklebox/issues"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"index.mjs"
|
|
15
|
+
],
|
|
4
16
|
"type": "module",
|
|
5
17
|
"main": "./index.mjs",
|
|
6
18
|
"exports": {
|