@krivega/eslint-config 1.1.23 → 1.1.24

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.24](https://github.com/Krivega/eslint-config/compare/v1.1.23...v1.1.24) (2026-07-02)
4
+
3
5
  ## [1.1.23](https://github.com/Krivega/eslint-config/compare/v1.1.22...v1.1.23) (2026-06-01)
4
6
 
5
7
  ## [1.1.22](https://github.com/Krivega/eslint-config/compare/v1.1.21...v1.1.22) (2026-05-13)
package/index.js CHANGED
@@ -169,10 +169,30 @@ const config = [
169
169
  ],
170
170
  },
171
171
  ],
172
- 'unicorn/prevent-abbreviations': [
172
+ 'unicorn/name-replacements': [
173
173
  'error',
174
174
  {
175
+ replacements: {
176
+ arg: false,
177
+ param: false,
178
+ params: false,
179
+ prev: false,
180
+ prop: false,
181
+ props: false,
182
+ ref: false,
183
+ refs: false,
184
+ deps: false,
185
+ },
175
186
  allowList: {
187
+ arg: true,
188
+ Arg: true,
189
+ param: true,
190
+ params: true,
191
+ prev: true,
192
+ prop: true,
193
+ props: true,
194
+ ref: true,
195
+ refs: true,
176
196
  i: true,
177
197
  j: true,
178
198
  args: true,
@@ -180,15 +200,11 @@ const config = [
180
200
  e2e: true,
181
201
  db: true,
182
202
  DB: true,
183
- props: true,
184
203
  Props: true,
185
204
  Prop: true,
186
- prop: true,
187
205
  Params: true,
188
- params: true,
189
206
  env: true,
190
207
  Env: true,
191
- prev: true,
192
208
  Prev: true,
193
209
  dir: true,
194
210
  Dir: true,
@@ -196,12 +212,13 @@ const config = [
196
212
  Utils: true,
197
213
  dev: true,
198
214
  Dev: true,
199
- ref: true,
200
215
  Ref: true,
201
216
  req: true,
202
217
  Req: true,
203
218
  res: true,
204
219
  Res: true,
220
+ deps: true,
221
+ Deps: true,
205
222
  },
206
223
  },
207
224
  ],
@@ -210,8 +227,10 @@ const config = [
210
227
  {
211
228
  cases: {
212
229
  camelCase: true,
230
+ camelCaseWithAcronyms: true,
213
231
  pascalCase: true,
214
232
  },
233
+ ignore: ['^__.+__$', 'HOC'],
215
234
  },
216
235
  ],
217
236
  'unicorn/no-nested-ternary': ['error'],
package/index.ts CHANGED
@@ -172,10 +172,30 @@ const config: Linter.Config[] = [
172
172
  ],
173
173
  },
174
174
  ],
175
- 'unicorn/prevent-abbreviations': [
175
+ 'unicorn/name-replacements': [
176
176
  'error',
177
177
  {
178
+ replacements: {
179
+ arg: false,
180
+ param: false,
181
+ params: false,
182
+ prev: false,
183
+ prop: false,
184
+ props: false,
185
+ ref: false,
186
+ refs: false,
187
+ deps: false,
188
+ },
178
189
  allowList: {
190
+ arg: true,
191
+ Arg: true,
192
+ param: true,
193
+ params: true,
194
+ prev: true,
195
+ prop: true,
196
+ props: true,
197
+ ref: true,
198
+ refs: true,
179
199
  i: true,
180
200
  j: true,
181
201
  args: true,
@@ -183,15 +203,11 @@ const config: Linter.Config[] = [
183
203
  e2e: true,
184
204
  db: true,
185
205
  DB: true,
186
- props: true,
187
206
  Props: true,
188
207
  Prop: true,
189
- prop: true,
190
208
  Params: true,
191
- params: true,
192
209
  env: true,
193
210
  Env: true,
194
- prev: true,
195
211
  Prev: true,
196
212
  dir: true,
197
213
  Dir: true,
@@ -199,12 +215,13 @@ const config: Linter.Config[] = [
199
215
  Utils: true,
200
216
  dev: true,
201
217
  Dev: true,
202
- ref: true,
203
218
  Ref: true,
204
219
  req: true,
205
220
  Req: true,
206
221
  res: true,
207
222
  Res: true,
223
+ deps: true,
224
+ Deps: true,
208
225
  },
209
226
  },
210
227
  ],
@@ -213,8 +230,10 @@ const config: Linter.Config[] = [
213
230
  {
214
231
  cases: {
215
232
  camelCase: true,
233
+ camelCaseWithAcronyms: true,
216
234
  pascalCase: true,
217
235
  },
236
+ ignore: ['^__.+__$', 'HOC'],
218
237
  },
219
238
  ],
220
239
  'unicorn/no-nested-ternary': ['error'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krivega/eslint-config",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "bugs": {
5
5
  "url": "https://github.com/Krivega/eslint-config/issues"
6
6
  },
@@ -35,29 +35,29 @@
35
35
  "dependencies": {
36
36
  "@stylistic/eslint-plugin": "5.8.0",
37
37
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
38
- "@types/node": "^25.9.1",
39
- "@typescript-eslint/eslint-plugin": "^8.60.0",
40
- "@typescript-eslint/parser": "^8.60.0",
38
+ "@types/node": "^26.1.0",
39
+ "@typescript-eslint/eslint-plugin": "^8.62.1",
40
+ "@typescript-eslint/parser": "^8.62.1",
41
41
  "eslint": "^9.39.2",
42
42
  "eslint-import-resolver-typescript": "^4.4.5",
43
- "eslint-plugin-cypress": "^6.4.1",
43
+ "eslint-plugin-cypress": "^6.4.2",
44
44
  "eslint-plugin-import": "^2.32.0",
45
- "eslint-plugin-jest": "^29.15.2",
45
+ "eslint-plugin-jest": "^29.15.4",
46
46
  "eslint-plugin-jsx-a11y": "^6.10.2",
47
47
  "eslint-plugin-prettier": "^5.5.6",
48
48
  "eslint-plugin-react": "7.37.5",
49
49
  "eslint-plugin-react-hooks": "^7.1.1",
50
- "eslint-plugin-react-refresh": "^0.5.2",
51
- "eslint-plugin-unicorn": "^64.0.0",
52
- "globals": "^17.6.0",
50
+ "eslint-plugin-react-refresh": "^0.5.3",
51
+ "eslint-plugin-unicorn": "^70.0.0",
52
+ "globals": "^17.7.0",
53
53
  "typescript": "^6.0.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@commitlint/cli": "^21.0.2",
57
- "@commitlint/config-conventional": "^21.0.2",
56
+ "@commitlint/cli": "^21.2.0",
57
+ "@commitlint/config-conventional": "^21.2.0",
58
58
  "@release-it/conventional-changelog": "^11.0.1",
59
- "prettier": "^3.8.3",
60
- "release-it": "^20.2.0"
59
+ "prettier": "^3.9.4",
60
+ "release-it": "^20.2.1"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "eslint": "^9.39.2",