@mysetup/eslint-config 2.0.1 → 2.0.5
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/.turbo/turbo-checks.log +2 -0
- package/README.md +36 -2
- package/package.json +39 -27
package/README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
-
# @mysetup/eslint-config
|
|
1
|
+
# @mysetup/eslint-config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Shared ESLint configuration for this workspace, including React, Next.js, Node.js, and TypeScript defaults.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add -D @mysetup/eslint-config eslint
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Supported libraries and runtimes
|
|
14
|
+
|
|
15
|
+
| Supported | Notes |
|
|
16
|
+
| ---------------- | --------------------------- |
|
|
17
|
+
| Node.js projects | Supported |
|
|
18
|
+
| React projects | Supported |
|
|
19
|
+
| Next.js projects | Supported |
|
|
20
|
+
| Vite projects | Supported when using ESLint |
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```js
|
|
25
|
+
// .eslintrc.js
|
|
26
|
+
module.exports = {
|
|
27
|
+
extends: ["@mysetup/eslint-config"],
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Scripts
|
|
32
|
+
|
|
33
|
+
- `pnpm clean` - remove generated artifacts
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"prettier": "
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
2
|
+
"name": "@mysetup/eslint-config",
|
|
3
|
+
"version": "2.0.5",
|
|
4
|
+
"description": "Shared ESLint configuration for Node.js, React, and Next.js projects.",
|
|
5
|
+
"author": "krishnaraj <krishnaraj.webdev@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"eslint",
|
|
9
|
+
"eslintconfig",
|
|
10
|
+
"nextjs",
|
|
11
|
+
"react",
|
|
12
|
+
"typescript"
|
|
13
|
+
],
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"main": "index.js",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@next/eslint-plugin-next": "^14.2.33",
|
|
20
|
+
"@vercel/style-guide": "^6.0.0",
|
|
21
|
+
"eslint": "^8.57.1",
|
|
22
|
+
"eslint-config-prettier": "^10.1.8",
|
|
23
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
24
|
+
"@mysetup/prettier-config": "^2.0.4"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@babel/core": "^7.28.4",
|
|
28
|
+
"@babel/eslint-parser": "^7.28.4",
|
|
29
|
+
"prettier": "^3.6.2",
|
|
30
|
+
"typescript": "5.5.4"
|
|
31
|
+
},
|
|
32
|
+
"prettier": "@mysetup/prettier-config",
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=18.0.0"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"checks": "node -e \"process.exit(0)\"",
|
|
38
|
+
"clean": "node ../scripts/package-fs.cjs remove node_modules .swc dist pnpm-lock.yaml && echo \"Cleaned\""
|
|
39
|
+
}
|
|
40
|
+
}
|