@nicksp/eslint-config 1.5.1 → 1.5.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.
@@ -3951,6 +3951,11 @@ interface RuleOptions {
3951
3951
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
3952
3952
  */
3953
3953
  'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
3954
+ /**
3955
+ * Prevents dollar signs from being inserted as text nodes before expressions.
3956
+ * @see https://eslint-react.xyz/docs/rules/jsx-dollar
3957
+ */
3958
+ 'react-x/jsx-dollar'?: Linter.RuleEntry<[]>;
3954
3959
  /**
3955
3960
  * Enforces that the 'key' prop is placed before the spread prop in JSX elements.
3956
3961
  * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
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.3",
5
5
  "type": "module",
6
+ "packageManager": "pnpm@10.20.0",
6
7
  "author": {
7
8
  "name": "Nick Plekhanov",
8
9
  "url": "https://plekhanov.me/"
@@ -24,23 +25,39 @@
24
25
  "styleguide",
25
26
  "eslint-config"
26
27
  ],
27
- "main": "./dist/index.js",
28
+ "main": "./dist/index.mjs",
28
29
  "exports": {
29
- ".": "./dist/index.js"
30
+ ".": "./dist/index.mjs"
30
31
  },
31
- "types": "./dist/index.d.ts",
32
+ "types": "./dist/index.d.mts",
32
33
  "files": [
33
34
  "dist"
34
35
  ],
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
- "@eslint-react/eslint-plugin": "^2.2.4",
56
+ "@eslint-react/eslint-plugin": "^2.3.1",
40
57
  "@next/eslint-plugin-next": "^16.0.1",
41
- "@nicksp/prettier-config": "^1.0.1",
58
+ "@nicksp/prettier-config": "^1.0.2",
42
59
  "astro-eslint-parser": "^1.2.2",
43
- "eslint": "^9.38.0",
60
+ "eslint": "^9.39.1",
44
61
  "eslint-plugin-astro": "^1.4.0",
45
62
  "eslint-plugin-jsx-a11y": "^6.10.2",
46
63
  "eslint-plugin-react-hooks": "^7.0.1",
@@ -80,17 +97,17 @@
80
97
  "@antfu/install-pkg": "^1.1.0",
81
98
  "@clack/prompts": "^0.11.0",
82
99
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
83
- "@eslint/js": "^9.38.0",
84
- "@typescript-eslint/utils": "^8.46.2",
85
- "@vitest/eslint-plugin": "^1.3.26",
100
+ "@eslint/js": "^9.39.1",
101
+ "@typescript-eslint/utils": "^8.46.3",
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",
89
106
  "eslint-plugin-antfu": "^3.1.1",
90
107
  "eslint-plugin-de-morgan": "^2.0.0",
91
- "eslint-plugin-erasable-syntax-only": "^0.3.1",
108
+ "eslint-plugin-erasable-syntax-only": "^0.4.0",
92
109
  "eslint-plugin-import-lite": "^0.3.0",
93
- "eslint-plugin-jsdoc": "^61.1.11",
110
+ "eslint-plugin-jsdoc": "^61.1.12",
94
111
  "eslint-plugin-jsonc": "^2.21.0",
95
112
  "eslint-plugin-n": "^17.23.1",
96
113
  "eslint-plugin-no-only-tests": "^3.3.0",
@@ -100,23 +117,24 @@
100
117
  "eslint-plugin-unicorn": "^62.0.0",
101
118
  "eslint-plugin-unused-imports": "^4.3.0",
102
119
  "eslint-plugin-yml": "^1.19.0",
103
- "globals": "^16.4.0",
120
+ "globals": "^16.5.0",
104
121
  "jsonc-eslint-parser": "^2.4.1",
105
122
  "local-pkg": "^1.1.2",
106
123
  "prettier": "^3.6.2",
107
- "typescript-eslint": "^8.46.2",
124
+ "typescript-eslint": "^8.46.3",
108
125
  "yaml-eslint-parser": "^1.3.0"
109
126
  },
110
127
  "devDependencies": {
111
128
  "@antfu/ni": "^27.0.1",
112
- "@eslint-react/eslint-plugin": "^2.2.4",
129
+ "@eslint-react/eslint-plugin": "^2.3.1",
113
130
  "@eslint/config-inspector": "^1.3.0",
114
131
  "@next/eslint-plugin-next": "^16.0.1",
115
- "@nicksp/prettier-config": "^1.0.1",
132
+ "@nicksp/eslint-config": "workspace:*",
133
+ "@nicksp/prettier-config": "^1.0.2",
116
134
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
117
- "@types/node": "^24.9.2",
135
+ "@types/node": "^24.10.0",
118
136
  "astro-eslint-parser": "^1.2.2",
119
- "eslint": "^9.38.0",
137
+ "eslint": "^9.39.1",
120
138
  "eslint-plugin-astro": "^1.4.0",
121
139
  "eslint-plugin-jsx-a11y": "^6.10.2",
122
140
  "eslint-plugin-react-hooks": "^7.0.1",
@@ -128,11 +146,10 @@
128
146
  "prettier-plugin-astro": "^0.14.1",
129
147
  "simple-git-hooks": "^2.13.1",
130
148
  "tinyglobby": "^0.2.15",
131
- "tsdown": "^0.15.12",
149
+ "tsdown": "^0.16.0",
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.6"
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
+ }
File without changes