From bf262104b14bfa4d16140b9c22411e33ccdb296e Mon Sep 17 00:00:00 2001 From: johanrd Date: Wed, 21 Feb 2024 15:05:22 +0100 Subject: [PATCH] Update helpers.ts lint --- .../src/plugins/data-sorting/helpers.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ember-headless-table/src/plugins/data-sorting/helpers.ts b/ember-headless-table/src/plugins/data-sorting/helpers.ts index dc466fb6..402c0ab8 100644 --- a/ember-headless-table/src/plugins/data-sorting/helpers.ts +++ b/ember-headless-table/src/plugins/data-sorting/helpers.ts @@ -6,27 +6,32 @@ import type { Column } from '[public-types]'; /** * Query a specific column's current sort direction */ -export const sortDirection = (column: Column) => meta.forColumn(column, Sorting).sortDirection; +export const sortDirection = (column: Column) => + meta.forColumn(column, Sorting).sortDirection; /** * Ask if a column is sortable */ -export const isSortable = (column: Column) => meta.forColumn(column, Sorting).isSortable; +export const isSortable = (column: Column) => + meta.forColumn(column, Sorting).isSortable; /** * Ask if a column is ascending */ -export const isAscending = (column: Column) => meta.forColumn(column, Sorting).isAscending; +export const isAscending = (column: Column) => + meta.forColumn(column, Sorting).isAscending; /** * Ask if a column is sorted descending */ -export const isDescending = (column: Column) => meta.forColumn(column, Sorting).isDescending; +export const isDescending = (column: Column) => + meta.forColumn(column, Sorting).isDescending; /** * Ask if a column is not sorted */ -export const isUnsorted = (column: Column) => meta.forColumn(column, Sorting).isUnsorted; +export const isUnsorted = (column: Column) => + meta.forColumn(column, Sorting).isUnsorted; /** * Sort the specified column's data using a tri-toggle.