diff options
author | Nick Schonning <nschonni@gmail.com> | 2022-12-18 10:51:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-19 00:51:37 +0900 |
commit | 06b68490d1957d680adc0c0c4ed2c84641de2056 (patch) | |
tree | 95127495c9e773fc71a38f3df2a833bfc6d03d09 /app/javascript/mastodon/actions/markers.js | |
parent | 2889c686108e89a87317505f93b841f5a8a6649b (diff) |
Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset * Disable failing ESLint recommended rules * Remove rules shadowed by eslint:recommended
Diffstat (limited to 'app/javascript/mastodon/actions/markers.js')
-rw-r--r-- | app/javascript/mastodon/actions/markers.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/javascript/mastodon/actions/markers.js b/app/javascript/mastodon/actions/markers.js index b7f406cb8..16ec7fe77 100644 --- a/app/javascript/mastodon/actions/markers.js +++ b/app/javascript/mastodon/actions/markers.js @@ -101,7 +101,7 @@ export function submitMarkersSuccess({ home, notifications }) { home: (home || {}).last_read_id, notifications: (notifications || {}).last_read_id, }; -}; +} export function submitMarkers(params = {}) { const result = (dispatch, getState) => debouncedSubmitMarkers(dispatch, getState); @@ -111,7 +111,7 @@ export function submitMarkers(params = {}) { } return result; -}; +} export const fetchMarkers = () => (dispatch, getState) => { const params = { timeline: ['notifications'] }; @@ -130,7 +130,7 @@ export function fetchMarkersRequest() { type: MARKERS_FETCH_REQUEST, skipLoading: true, }; -}; +} export function fetchMarkersSuccess(markers) { return { @@ -138,7 +138,7 @@ export function fetchMarkersSuccess(markers) { markers, skipLoading: true, }; -}; +} export function fetchMarkersFail(error) { return { @@ -147,4 +147,4 @@ export function fetchMarkersFail(error) { skipLoading: true, skipAlert: true, }; -}; +} |