@h1fra/eslint-config 1.0.8 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h1fra/eslint-config",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "repository": {
@@ -29,19 +29,19 @@
29
29
  "test": "eslint ."
30
30
  },
31
31
  "dependencies": {
32
- "@eslint/js": "^9.12.0",
33
- "@typescript-eslint/eslint-plugin": "^8.10.0",
34
- "@typescript-eslint/parser": "^8.10.0",
35
- "eslint": "^9.12.0",
36
- "eslint-config-prettier": "^9.1.0",
37
- "eslint-import-resolver-typescript": "^3.6.3",
38
- "eslint-plugin-import-x": "^4.3.1",
39
- "eslint-plugin-perfectionist": "3.9.1",
40
- "eslint-plugin-prettier": "5.2.1",
41
- "eslint-plugin-unicorn": "^56.0.0",
42
- "globals": "^15.11.0",
43
- "prettier": "^3.3.3",
44
- "typescript-eslint": "^8.10.0"
32
+ "@eslint/js": "^9.23.0",
33
+ "@typescript-eslint/eslint-plugin": "^8.28.0",
34
+ "@typescript-eslint/parser": "^8.28.0",
35
+ "eslint": "^9.23.0",
36
+ "eslint-config-prettier": "^10.1.1",
37
+ "eslint-import-resolver-typescript": "^4.3.0",
38
+ "eslint-plugin-import-x": "^4.9.3",
39
+ "eslint-plugin-perfectionist": "4.10.1",
40
+ "eslint-plugin-prettier": "5.2.5",
41
+ "eslint-plugin-unicorn": "^58.0.0",
42
+ "globals": "^16.0.0",
43
+ "prettier": "^3.5.3",
44
+ "typescript-eslint": "^8.28.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "typescript": ">=5.0.0"
@@ -50,6 +50,8 @@ export default [
50
50
  {
51
51
  allowHigherOrderFunctions: true,
52
52
  allowDirectConstAssertionInArrowFunctions: true,
53
+ allowIIFEs: true,
54
+ allowExpressions: true,
53
55
  },
54
56
  ],
55
57
  '@typescript-eslint/strict-boolean-expressions': [
@@ -65,6 +67,7 @@ export default [
65
67
  'unicorn/no-for-loop': 'off', // handled by ts
66
68
  'unicorn/no-null': 'off', // can produce partial json
67
69
  'unicorn/prefer-ternary': 'off', // produce subpar code
70
+ 'unicorn/no-nested-ternary': 'off', // conflict with prettier
68
71
 
69
72
  // Perfectionist
70
73
  'perfectionist/sort-enums': ['error', { type: 'alphabetical', order: 'asc' }],