Skip to content

Commit 4e0f82d

Browse files
authored
feat: don't use deprecated option (#719)
1 parent 6960520 commit 4e0f82d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/configs/jsonc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export async function jsonc(
7474
'jsonc/key-spacing': ['error', { afterColon: true, beforeColon: false }],
7575
'jsonc/object-curly-newline': ['error', { consistent: true, multiline: true }],
7676
'jsonc/object-curly-spacing': ['error', 'always'],
77-
'jsonc/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],
77+
'jsonc/object-property-newline': ['error', { allowAllPropertiesOnSameLine: true }],
7878
'jsonc/quote-props': 'error',
7979
'jsonc/quotes': 'error',
8080
}

src/configs/vue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export async function vue(
193193
'vue/keyword-spacing': ['error', { after: true, before: true }],
194194
'vue/object-curly-newline': 'off',
195195
'vue/object-curly-spacing': ['error', 'always'],
196-
'vue/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],
196+
'vue/object-property-newline': ['error', { allowAllPropertiesOnSameLine: true }],
197197
'vue/operator-linebreak': ['error', 'before'],
198198
'vue/padding-line-between-blocks': ['error', 'always'],
199199
'vue/quote-props': ['error', 'consistent-as-needed'],

0 commit comments

Comments
 (0)