@darksheep/eslint 6.5.0 → 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,20 @@
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
+
11
+ ## [6.5.1](https://github.com/DarkSheepSoftware/eslint/compare/v6.5.0...v6.5.1) (2024-10-09)
12
+
13
+
14
+ ### 🧹 Chores
15
+
16
+ * Better default point ([c0835a0](https://github.com/DarkSheepSoftware/eslint/commit/c0835a068a1fc4cf71ecb3cded19957a4d9fbae8))
17
+
3
18
  ## [6.5.0](https://github.com/DarkSheepSoftware/eslint/compare/v6.4.3...v6.5.0) (2024-10-09)
4
19
 
5
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint",
3
- "version": "6.5.0",
3
+ "version": "6.5.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/DarkSheepSoftware/eslint"
@@ -48,7 +48,7 @@ function isInEditor() {
48
48
  );
49
49
  }
50
50
 
51
- const point = getEnvString('ESLINT_LOG_POINT') ?? '~';
51
+ const point = getEnvString('ESLINT_LOG_POINT') ?? ' #';
52
52
  const icons = [
53
53
  `\u001B[32m${point}\u001B[0m`, // circle - green
54
54
  `\u001B[34m${point}\u001B[0m`, // circle - blue
@@ -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',