vize 0.125.0 → 0.127.0

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": "vize",
3
- "version": "0.125.0",
3
+ "version": "0.127.0",
4
4
  "description": "Vize - High-performance Vue.js toolchain in Rust",
5
5
  "keywords": [
6
6
  "cli",
@@ -49,7 +49,7 @@
49
49
  "access": "public"
50
50
  },
51
51
  "dependencies": {
52
- "@vizejs/native": "0.125.0",
52
+ "@vizejs/native": "0.127.0",
53
53
  "oxc-transform": "0.130.0"
54
54
  },
55
55
  "devDependencies": {
@@ -5,10 +5,15 @@ typealias RuleSeverity = "off"|"warn"|"error"
5
5
 
6
6
  typealias RuleCategory = "correctness"|"suspicious"|"style"|"perf"|"a11y"|"security"
7
7
 
8
+ typealias LintPreset = "happy-path"|"opinionated"|"essential"|"incremental"|"ecosystem"|"nuxt"
9
+
8
10
  class LinterConfig {
9
11
  /// Enable linting.
10
12
  enabled: Boolean = true
11
13
 
14
+ /// Built-in lint preset.
15
+ preset: LintPreset = "ecosystem"
16
+
12
17
  /// Rules to enable/disable.
13
18
  rules: Mapping<String, RuleSeverity> = new Mapping {}
14
19
 
@@ -128,7 +128,7 @@
128
128
  },
129
129
  "preset": {
130
130
  "description": "Built-in lint preset",
131
- "default": "happy-path",
131
+ "default": "ecosystem",
132
132
  "type": "string",
133
133
  "enum": ["happy-path", "opinionated", "essential", "incremental", "ecosystem", "nuxt"]
134
134
  },