Commit 3c489e02 authored by winniehell's avatar winniehell

Cleanup empty default exports

parent 8ca85a26
...@@ -23,5 +23,3 @@ export const parseIssuableData = () => { ...@@ -23,5 +23,3 @@ export const parseIssuableData = () => {
return {}; return {};
} }
}; };
export default {};
<script>
export default {};
</script>
<template> <template>
<div></div> <div></div>
</template> </template>
...@@ -23,5 +23,3 @@ export const getTimeRange = (seconds = 0) => { ...@@ -23,5 +23,3 @@ export const getTimeRange = (seconds = 0) => {
}; };
export const formatDate = timestamp => dateFormat(timestamp, dateFormatMask); export const formatDate = timestamp => dateFormat(timestamp, dateFormatMask);
export default {};
...@@ -271,5 +271,3 @@ export const optionsFromSeriesData = ({ label, data = [] }) => { ...@@ -271,5 +271,3 @@ export const optionsFromSeriesData = ({ label, data = [] }) => {
return [...optionsSet].map(parseSimpleCustomValues); return [...optionsSet].map(parseSimpleCustomValues);
}; };
export default {};
...@@ -404,5 +404,3 @@ export const barChartsDataParser = (data = []) => ...@@ -404,5 +404,3 @@ export const barChartsDataParser = (data = []) =>
}), }),
{}, {},
); );
export default {};
...@@ -70,6 +70,3 @@ export const collapseSystemNotes = notes => { ...@@ -70,6 +70,3 @@ export const collapseSystemNotes = notes => {
return acc; return acc;
}, []); }, []);
}; };
// for babel-rewire
export default {};
<script>
export default {};
</script>
<template> <template>
<div> <div>
<router-view ref="router-view" /> <router-view ref="router-view" />
......
export const HIGHLIGHT_CLASS_NAME = 'hll'; export const HIGHLIGHT_CLASS_NAME = 'hll';
export default {};
...@@ -89,5 +89,3 @@ export const inputStringToIsoDate = (value, utc = false) => { ...@@ -89,5 +89,3 @@ export const inputStringToIsoDate = (value, utc = false) => {
*/ */
export const isoDateToInputString = (date, utc = false) => export const isoDateToInputString = (date, utc = false) =>
dateformat(date, dateFormats.inputFormat, utc); dateformat(date, dateFormats.inputFormat, utc);
export default {};
export function pixeliseValue(val) { export function pixeliseValue(val) {
return val ? `${val}px` : ''; return val ? `${val}px` : '';
} }
export default {};
...@@ -5,5 +5,3 @@ export function filterTokenOptionsValidator(filterTokenOptions) { ...@@ -5,5 +5,3 @@ export function filterTokenOptionsValidator(filterTokenOptions) {
.map(({ type }) => type) .map(({ type }) => type)
.every(type => AVAILABLE_TOKEN_TYPES.includes(type)); .every(type => AVAILABLE_TOKEN_TYPES.includes(type));
} }
export default {};
...@@ -41,5 +41,3 @@ export function initEpicForm() { ...@@ -41,5 +41,3 @@ export function initEpicForm() {
}, },
}); });
} }
export default {};
...@@ -2,5 +2,3 @@ export const Namespace = { ...@@ -2,5 +2,3 @@ export const Namespace = {
Group: 'group', Group: 'group',
Project: 'project', Project: 'project',
}; };
export default {};
...@@ -80,5 +80,3 @@ export function initIterationReport({ namespaceType, initiallyEditing } = {}) { ...@@ -80,5 +80,3 @@ export function initIterationReport({ namespaceType, initiallyEditing } = {}) {
}, },
}); });
} }
export default {};
...@@ -352,6 +352,3 @@ export const setFilterParams = ({ commit }, filterParams) => ...@@ -352,6 +352,3 @@ export const setFilterParams = ({ commit }, filterParams) =>
commit(types.SET_FILTER_PARAMS, filterParams); commit(types.SET_FILTER_PARAMS, filterParams);
export const setSortedBy = ({ commit }, sortedBy) => commit(types.SET_SORTED_BY, sortedBy); export const setSortedBy = ({ commit }, sortedBy) => commit(types.SET_SORTED_BY, sortedBy);
// prevent babel-plugin-rewire from generating an invalid default during karma tests
export default () => {};
...@@ -25,5 +25,3 @@ export const createInvalidProjectMessage = invalidProjects => { ...@@ -25,5 +25,3 @@ export const createInvalidProjectMessage = invalidProjects => {
} }
return firstProject; return firstProject;
}; };
export default {};
...@@ -55,5 +55,3 @@ export const SimpleBlobContentMock = { ...@@ -55,5 +55,3 @@ export const SimpleBlobContentMock = {
path: 'foo.js', path: 'foo.js',
plainData: 'Plain', plainData: 'Plain',
}; };
export default {};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment