We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654f651 commit 14e3c4dCopy full SHA for 14e3c4d
crates/emmylua_code_analysis/src/config/configs/strict.rs
@@ -5,6 +5,10 @@ fn default_true() -> bool {
5
true
6
}
7
8
+fn default_false() -> bool {
9
+ false
10
+}
11
+
12
#[derive(Serialize, Deserialize, Debug, JsonSchema)]
13
#[serde(rename_all = "camelCase")]
14
pub struct EmmyrcStrict {
@@ -14,7 +18,7 @@ pub struct EmmyrcStrict {
18
#[serde(default)]
15
19
pub type_call: bool,
16
20
/// Whether to enable strict mode array indexing.
17
- #[serde(default = "default_true")]
21
+ #[serde(default = "default_false")]
22
pub array_index: bool,
23
24
0 commit comments