Skip to content
Snippets Groups Projects
Unverified Commit f04f89f9 authored by Mathias Maaß's avatar Mathias Maaß Committed by GitHub
Browse files

do not use exports keyword as variable name #3421 (#3422)

parent 75b08073
Branches
No related tags found
No related merge requests found
...@@ -30,5 +30,6 @@ ...@@ -30,5 +30,6 @@
}], }],
"react/jsx-props-no-spreading": "off", "react/jsx-props-no-spreading": "off",
"arrow-parens": "off", "arrow-parens": "off",
"import/no-anonymous-default-export": "off"
} }
} }
import init from './init'; import init from './init';
import state from './state'; import state from './state';
const exports = { export default {
...init, ...init,
...state, ...state,
}; };
export default exports;
...@@ -15,8 +15,6 @@ function viewer(config, pluginsOrStruct) { ...@@ -15,8 +15,6 @@ function viewer(config, pluginsOrStruct) {
return new MiradorViewer(config, struct); return new MiradorViewer(config, struct);
} }
const exports = { export default {
viewer, viewer,
}; };
export default exports;
...@@ -4,12 +4,10 @@ import * as sagas from './sagas'; ...@@ -4,12 +4,10 @@ import * as sagas from './sagas';
import * as selectors from './selectors'; import * as selectors from './selectors';
import createStore from './createStore'; import createStore from './createStore';
const exports = { export default {
actions, actions,
createStore, createStore,
reducers, reducers,
sagas, sagas,
selectors, selectors,
}; };
export default exports;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment