In the .editorconfig an indent of 2 characters is set:
But a lot of code is formatted width 4 characters:
|
export function useOrder() { |
|
const state = reactive({ |
|
isLoading:false, |
|
isUpdating:false |
|
}) |
|
const shopStore = useViurShopStore() |
|
function updateOrderState(key,data){ |
|
shopStore.state.order = data |
|
shopStore.state.orderKey = key |
|
|
|
const params = useUrlSearchParams('hash') |
|
params['order'] = shopStore.state.orderKey |
I don't care about the exact number. But when I or my IDE formats code, I don't want to reformat the entire file because it was previously ignored by others.
In the .editorconfig an indent of 2 characters is set:
shop-components/.editorconfig
Line 8 in afa5cd6
But a lot of code is formatted width 4 characters:
shop-components/src/composables/order.js
Lines 7 to 18 in afa5cd6
I don't care about the exact number. But when I or my IDE formats code, I don't want to reformat the entire file because it was previously ignored by others.