@projectwallace/preset-oxlint 0.0.6 → 0.0.10

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.
Files changed (2) hide show
  1. package/index.json +14 -4
  2. package/package.json +1 -1
package/index.json CHANGED
@@ -19,6 +19,8 @@
19
19
  // ============================================================
20
20
  // Core/ESLint rules
21
21
  // ============================================================
22
+ // Inline comments are actually useful
23
+ "no-inline-comments": "off",
22
24
  // Allow using any TypeScript types without restrictions
23
25
  "ban-types": "off",
24
26
  // Switch statements don't require a default case
@@ -81,6 +83,12 @@
81
83
  // Warn about async functions that don't use await
82
84
  "require-await": "warn",
83
85
 
86
+ // ============================================================
87
+ // Eslint plugin rules
88
+ // ============================================================
89
+ // Allow inline comments, we use them tons
90
+ "no-inline-comments": "off",
91
+
84
92
  // ============================================================
85
93
  // Unicorn plugin rules
86
94
  // ============================================================
@@ -88,6 +96,8 @@
88
96
  "unicorn/no-null": "error",
89
97
  // Don't enforce Set.has() over Array.includes()
90
98
  "unicorn/prefer-set-has": "off",
99
+ // Allow lonely if for readability (prevent long if-statements)
100
+ "unicorn/no-lonely-if": "off",
91
101
 
92
102
  // ============================================================
93
103
  // Vitest plugin rules
@@ -96,9 +106,9 @@
96
106
  "vitest/consistent-test-it": [
97
107
  "error",
98
108
  {
99
- "fn": "test",
100
- "withinDescribe": "test"
101
- }
109
+ "fn": "test",
110
+ "withinDescribe": "test"
111
+ }
102
112
  ]
103
113
  }
104
- }
114
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectwallace/preset-oxlint",
3
- "version": "0.0.6",
3
+ "version": "0.0.10",
4
4
  "description": "Opinionated Project Wallace preset for Oxlint",
5
5
  "repository": {
6
6
  "type": "git",