@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.
@@ -0,0 +1,2 @@
1
+ [?9001h[?1004h[?25l> @mysetup/eslint-config@2.0.2 checks D:\HTML\MyWork\krishna\npm-packages\eslint-config
2
+ > node -e "process.exit(0)"]0;C:\WINDOWS\system32\cmd.exe[?25h[?9001l[?1004l
package/README.md CHANGED
@@ -1,3 +1,37 @@
1
- # @mysetup/eslint-config
1
+ # @mysetup/eslint-config
2
2
 
3
- A shared [ESlint](https://eslint.org/) configuration, including `eslint-config-next`.
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
- "name": "@mysetup/eslint-config",
3
- "version": "2.0.1",
4
- "license": "MIT",
5
- "main": "index.js",
6
- "scripts": {
7
- "clean": "rm -rf node_modules .swc dist pnpm-lock.yaml && echo \"✅ Successfully removed \""
8
- },
9
- "dependencies": {
10
- "@mysetup/prettier-config": "latest",
11
- "@next/eslint-plugin-next": "^16.0.1",
12
- "@vercel/style-guide": "^6.0.0",
13
- "eslint": "9.38.0",
14
- "eslint-config-prettier": "^10.1.8",
15
- "eslint-plugin-prettier": "^5.5.4"
16
- },
17
- "devDependencies": {
18
- "@babel/core": "^7.28.5",
19
- "@babel/eslint-parser": "^7.28.5",
20
- "prettier": "^3.6.2",
21
- "typescript": "5.5.4"
22
- },
23
- "prettier": "@mysetup/prettier-config",
24
- "engines": {
25
- "node": ">=18.0.0"
26
- },
27
- "packageManager": "pnpm@9.9.0"
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
+ }