@darksheep/eslint 6.5.1 → 6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.5.2](https://github.com/DarkSheepSoftware/eslint/compare/v6.5.1...v6.5.2) (2024-10-11)
4
+
5
+
6
+ ### 🩹 Fixes
7
+
8
+ * Disable `unicorn/no-new-array` ([9cb1349](https://github.com/DarkSheepSoftware/eslint/commit/9cb1349cb145191d884fd531ada62a3baf418159))
9
+ * **unicorn:** Disable no-magic-array-flat-depth ([#672](https://github.com/DarkSheepSoftware/eslint/issues/672)) ([888b771](https://github.com/DarkSheepSoftware/eslint/commit/888b771d7714c13f3058d6657f92aff7cfebb9fe))
10
+
3
11
  ## [6.5.1](https://github.com/DarkSheepSoftware/eslint/compare/v6.5.0...v6.5.1) (2024-10-09)
4
12
 
5
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint",
3
- "version": "6.5.1",
3
+ "version": "6.5.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/DarkSheepSoftware/eslint"
@@ -58,11 +58,11 @@ export async function createEslintUnicornConfig(root) {
58
58
  'unicorn/no-keyword-prefix': 'warn',
59
59
  'unicorn/no-length-as-slice-end': 'warn',
60
60
  'unicorn/no-lonely-if': 'warn',
61
- 'unicorn/no-magic-array-flat-depth': 'warn',
61
+ 'unicorn/no-magic-array-flat-depth': 'off', // Breaks typescript
62
62
  'unicorn/no-negated-condition': 'error',
63
63
  'unicorn/no-negation-in-equality-check': 'warn',
64
64
  'unicorn/no-nested-ternary': 'warn',
65
- 'unicorn/no-new-array': 'error',
65
+ 'unicorn/no-new-array': 'off', // Fights with new-for-builtins
66
66
  'unicorn/no-new-buffer': 'error',
67
67
  'unicorn/no-null': 'off',
68
68
  'unicorn/no-object-as-default-parameter': 'warn',