mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-19 07:53:02 +00:00
Add lint rule banning wildcard imports. Fix existing ones where possible.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as merge from 'deepmerge';
|
||||
import { all } from 'deepmerge';
|
||||
|
||||
import { environment } from '../environments/environment';
|
||||
|
||||
@@ -28,7 +28,7 @@ const mergeConfig = (destinationConfig: any, sourceConfig: AppConfig): void => {
|
||||
const mergeOptions = {
|
||||
arrayMerge: (destinationArray, sourceArray, options) => sourceArray
|
||||
};
|
||||
Object.assign(destinationConfig, merge.all([
|
||||
Object.assign(destinationConfig, all([
|
||||
destinationConfig,
|
||||
sourceConfig
|
||||
], mergeOptions));
|
||||
|
Reference in New Issue
Block a user