refactor: change ownPropertyOnly default value to true

BREAKING CHANGE: `ownPropertyOnly` default value changed to `true`
This commit is contained in:
Jun Yang
2022-11-27 14:04:01 +08:00
parent ffefd91fbc
commit 7eb621601c
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export const defaultOptions: NormalizedFullOptions = {
preserveTimezones: false,
strictFilters: false,
strictVariables: false,
ownPropertyOnly: false,
ownPropertyOnly: true,
lenientIf: false,
globals: {},
keepOutputType: false,