Skip to content

Commit

Permalink
Add object shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Nov 9, 2024
1 parent 5ef58ef commit ad114cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default tseslint.config(
"no-empty-function": "warn",
"no-nested-ternary": "warn",
"no-unreachable": "warn",
"object-shorthand": "warn",
"linebreak-style": ["warn", "unix"],
eqeqeq: ["warn", "smart"],
"no-console": [
Expand Down
2 changes: 1 addition & 1 deletion src/features/settings/gestures/gestureSlice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const initialState: GestureState = {

export const gestureSlice = createSlice({
name: "gesture",
initialState: initialState,
initialState,
extraReducers: (builder) => {
builder.addCase(
fetchGesturesFromDatabase.fulfilled,
Expand Down
4 changes: 2 additions & 2 deletions src/features/shared/IonModalAutosizedForOnScreenKeyboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function cumulativeOffset(element: HTMLElement) {
} while (element instanceof HTMLElement);

return {
top: top,
left: left,
top,
left,
};
}

0 comments on commit ad114cb

Please sign in to comment.