diff --git a/extension/src/options/syncOptions.ts b/extension/src/options/syncOptions.ts index 7f5ac82b..4b51685f 100644 --- a/extension/src/options/syncOptions.ts +++ b/extension/src/options/syncOptions.ts @@ -62,13 +62,13 @@ const migrateOldOptions = (oldOptions: OldOrNewOptions): Options => ({ ? oldOptions.filter && oldOptions.whitelist.length > 0 ? FilterState.ALLOWLIST_SPECIFIC : oldOptions.filter - ? FilterState.DENYLIST_SPECIFIC - : FilterState.DO_NOT_FILTER + ? FilterState.DENYLIST_SPECIFIC + : FilterState.DO_NOT_FILTER : oldOptions.filter === 'WHITELIST_SPECIFIC' - ? FilterState.ALLOWLIST_SPECIFIC - : oldOptions.filter === 'BLACKLIST_SPECIFIC' - ? FilterState.DENYLIST_SPECIFIC - : oldOptions.filter, + ? FilterState.ALLOWLIST_SPECIFIC + : oldOptions.filter === 'BLACKLIST_SPECIFIC' + ? FilterState.DENYLIST_SPECIFIC + : oldOptions.filter, }); const get = (callback: (options: Options) => void) => { diff --git a/packages/d3-state-visualizer/src/charts/tree/tree.ts b/packages/d3-state-visualizer/src/charts/tree/tree.ts index 4a87ffc8..368c6811 100644 --- a/packages/d3-state-visualizer/src/charts/tree/tree.ts +++ b/packages/d3-state-visualizer/src/charts/tree/tree.ts @@ -401,8 +401,8 @@ export default function (DOMNode: HTMLElement, options: Partial = {}) { d.data._children && d.data._children.length > 0 ? nodeStyleOptions.colors.collapsed : d.data.children && d.data.children.length > 0 - ? nodeStyleOptions.colors.parent - : nodeStyleOptions.colors.default, + ? nodeStyleOptions.colors.parent + : nodeStyleOptions.colors.default, ); // transition nodes to their new position diff --git a/packages/react-base16-styling/src/index.ts b/packages/react-base16-styling/src/index.ts index 181373fa..3ec5b257 100644 --- a/packages/react-base16-styling/src/index.ts +++ b/packages/react-base16-styling/src/index.ts @@ -190,8 +190,8 @@ export const invertBase16Theme = (base16Theme: Base16Theme): Base16Theme => (t[key as keyof Base16Theme] = /^base/.test(key) ? invertColor(base16Theme[key as keyof Base16Theme]) : key === 'scheme' - ? base16Theme[key] + ':inverted' - : base16Theme[key as keyof Base16Theme]), + ? base16Theme[key] + ':inverted' + : base16Theme[key as keyof Base16Theme]), t ), {} as Base16Theme, diff --git a/packages/redux-devtools-extension/src/logOnlyInProduction.ts b/packages/redux-devtools-extension/src/logOnlyInProduction.ts index 4e26a9ef..59ccf317 100644 --- a/packages/redux-devtools-extension/src/logOnlyInProduction.ts +++ b/packages/redux-devtools-extension/src/logOnlyInProduction.ts @@ -34,17 +34,17 @@ export const composeWithDevTools: ReduxDevtoolsExtensionCompose = process.env.NODE_ENV === 'production' ? logOnly.composeWithDevTools : typeof window !== 'undefined' && - window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ - ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ - : extensionComposeStub; + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ + ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ + : extensionComposeStub; export const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer = process.env.NODE_ENV === 'production' ? logOnly.devToolsEnhancer : typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__ - ? window.__REDUX_DEVTOOLS_EXTENSION__ - : function () { - return function (noop) { - return noop; + ? window.__REDUX_DEVTOOLS_EXTENSION__ + : function () { + return function (noop) { + return noop; + }; }; - }; diff --git a/packages/redux-devtools-inspector-monitor-test-tab/demo/src/reducers.ts b/packages/redux-devtools-inspector-monitor-test-tab/demo/src/reducers.ts index b515ee9e..5e193ea0 100644 --- a/packages/redux-devtools-inspector-monitor-test-tab/demo/src/reducers.ts +++ b/packages/redux-devtools-inspector-monitor-test-tab/demo/src/reducers.ts @@ -173,10 +173,10 @@ export const rootReducer: Reducer = action.type === 'PUSH' ? [...state, Math.random()] : action.type === 'POP' - ? state.slice(0, state.length - 1) - : action.type === 'REPLACE' - ? [Math.random(), ...state.slice(1)] - : state, + ? state.slice(0, state.length - 1) + : action.type === 'REPLACE' + ? [Math.random(), ...state.slice(1)] + : state, hugeArrays: (state = [], action) => action.type === 'PUSH_HUGE_ARRAY' ? [...state, ...HUGE_ARRAY] : state, hugeObjects: (state = [], action) => diff --git a/packages/redux-devtools-inspector-monitor/demo/src/reducers.ts b/packages/redux-devtools-inspector-monitor/demo/src/reducers.ts index 5a04ae63..ede7a41d 100644 --- a/packages/redux-devtools-inspector-monitor/demo/src/reducers.ts +++ b/packages/redux-devtools-inspector-monitor/demo/src/reducers.ts @@ -203,10 +203,10 @@ export const rootReducer: Reducer = action.type === 'PUSH' ? [...state, Math.random()] : action.type === 'POP' - ? state.slice(0, state.length - 1) - : action.type === 'REPLACE' - ? [Math.random(), ...state.slice(1)] - : state, + ? state.slice(0, state.length - 1) + : action.type === 'REPLACE' + ? [Math.random(), ...state.slice(1)] + : state, hugeArrays: (state = [], action) => action.type === 'PUSH_HUGE_ARRAY' ? [...state, ...HUGE_ARRAY] : state, hugeObjects: (state = [], action) => diff --git a/packages/redux-devtools-inspector-monitor/src/ActionList.tsx b/packages/redux-devtools-inspector-monitor/src/ActionList.tsx index 41e020af..d745d5d5 100644 --- a/packages/redux-devtools-inspector-monitor/src/ActionList.tsx +++ b/packages/redux-devtools-inspector-monitor/src/ActionList.tsx @@ -127,8 +127,8 @@ export default function ActionList>({ overIndex < activeIndex ? (over.id as number) : overIndex < actionIds.length - 1 - ? actionIds[overIndex + 1] - : actionIds.length; + ? actionIds[overIndex + 1] + : actionIds.length; onReorderAction(active.id as number, beforeActionId); } diff --git a/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx b/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx index 533c014d..40bfa36d 100644 --- a/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx +++ b/packages/redux-devtools-inspector-monitor/src/ActionPreview.tsx @@ -113,8 +113,8 @@ class ActionPreview> extends Component< typeof tabs === 'function' ? tabs(DEFAULT_TABS as Tab[]) : tabs - ? tabs - : (DEFAULT_TABS as Tab[]); + ? tabs + : (DEFAULT_TABS as Tab[]); const { component: TabComponent } = renderedTabs.find((tab) => tab.name === tabName) || diff --git a/packages/redux-devtools-remote/src/devTools.ts b/packages/redux-devtools-remote/src/devTools.ts index 4da6ff31..b32ffbe5 100644 --- a/packages/redux-devtools-remote/src/devTools.ts +++ b/packages/redux-devtools-remote/src/devTools.ts @@ -41,8 +41,8 @@ function str2array( return typeof str === 'string' ? [str] : str && str.length > 0 - ? str - : undefined; + ? str + : undefined; } function getRandomId() {