@nicksp/eslint-config 1.5.1 → 1.5.2

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 (1) hide show
  1. package/package.json +23 -20
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@nicksp/eslint-config",
3
3
  "description": "Nick's ESLint config",
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "type": "module",
6
+ "packageManager": "pnpm@10.20.0",
6
7
  "author": {
7
8
  "name": "Nick Plekhanov",
8
9
  "url": "https://plekhanov.me/"
@@ -35,6 +36,22 @@
35
36
  "engines": {
36
37
  "node": ">=24"
37
38
  },
39
+ "scripts": {
40
+ "build": "nr gen && tsdown --clean --dts",
41
+ "dev": "npx @eslint/config-inspector --config eslint-inspector.config.ts",
42
+ "watch": "tsdown --watch",
43
+ "lint": "npx publint && eslint",
44
+ "lint:fix": "eslint --fix",
45
+ "format": "prettier --write \"**/*.{js,cjs,mjs,jsx,ts,tsx,astro,css,jsonn}\"",
46
+ "gen": "tsx scripts/typegen.ts",
47
+ "prepack": "NODE_ENV=production nr build",
48
+ "test": "nr test:ci",
49
+ "test:ci": "vitest run",
50
+ "test:watch": "vitest",
51
+ "typecheck": "tsc --noEmit",
52
+ "check": "nr typecheck && nr lint",
53
+ "prepare": "simple-git-hooks"
54
+ },
38
55
  "peerDependencies": {
39
56
  "@eslint-react/eslint-plugin": "^2.2.4",
40
57
  "@next/eslint-plugin-next": "^16.0.1",
@@ -82,7 +99,7 @@
82
99
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
83
100
  "@eslint/js": "^9.38.0",
84
101
  "@typescript-eslint/utils": "^8.46.2",
85
- "@vitest/eslint-plugin": "^1.3.26",
102
+ "@vitest/eslint-plugin": "^1.4.0",
86
103
  "eslint-config-flat-gitignore": "^2.1.0",
87
104
  "eslint-config-prettier": "^10.1.8",
88
105
  "eslint-flat-config-utils": "^2.1.4",
@@ -112,6 +129,7 @@
112
129
  "@eslint-react/eslint-plugin": "^2.2.4",
113
130
  "@eslint/config-inspector": "^1.3.0",
114
131
  "@next/eslint-plugin-next": "^16.0.1",
132
+ "@nicksp/eslint-config": "workspace:*",
115
133
  "@nicksp/prettier-config": "^1.0.1",
116
134
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
117
135
  "@types/node": "^24.9.2",
@@ -131,8 +149,7 @@
131
149
  "tsdown": "^0.15.12",
132
150
  "tsx": "^4.20.6",
133
151
  "typescript": "^5.9.3",
134
- "vitest": "^4.0.5",
135
- "@nicksp/eslint-config": "1.5.1"
152
+ "vitest": "^4.0.5"
136
153
  },
137
154
  "simple-git-hooks": {
138
155
  "pre-commit": "npx lint-staged"
@@ -140,19 +157,5 @@
140
157
  "lint-staged": {
141
158
  "*": "eslint --fix"
142
159
  },
143
- "prettier": "@nicksp/prettier-config",
144
- "scripts": {
145
- "build": "nr gen && tsdown --clean --dts",
146
- "dev": "npx @eslint/config-inspector --config eslint-inspector.config.ts",
147
- "watch": "tsdown --watch",
148
- "lint": "npx publint && eslint",
149
- "lint:fix": "eslint --fix",
150
- "format": "prettier --write \"**/*.{js,cjs,mjs,jsx,ts,tsx,astro,css,jsonn}\"",
151
- "gen": "tsx scripts/typegen.ts",
152
- "test": "nr test:ci",
153
- "test:ci": "vitest run",
154
- "test:watch": "vitest",
155
- "typecheck": "tsc --noEmit",
156
- "check": "nr typecheck && nr lint"
157
- }
158
- }
160
+ "prettier": "@nicksp/prettier-config"
161
+ }