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
No related branches found
No related tags found
No related merge requests found
......@@ -30,5 +30,6 @@
}],
"react/jsx-props-no-spreading": "off",
"arrow-parens": "off",
"import/no-anonymous-default-export": "off"
}
}
import init from './init';
import state from './state';
const exports = {
export default {
...init,
...state,
};
export default exports;
......@@ -15,8 +15,6 @@ function viewer(config, pluginsOrStruct) {
return new MiradorViewer(config, struct);
}
const exports = {
export default {
viewer,
};
export default exports;
......@@ -4,12 +4,10 @@ import * as sagas from './sagas';
import * as selectors from './selectors';
import createStore from './createStore';
const exports = {
export default {
actions,
createStore,
reducers,
sagas,
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