File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,6 @@ export const getSettings = memoize(
6464 const customizedSettings = getWorkspace ( store ) ?. data . settings ?? { } ;
6565 const defaultSettings = getDefaultWorkspaceSettings ( store ) ;
6666
67- // Preserve the whole linter config object as it should not be merged field by field
68- const defaultLinterConfig =
69- defaultSettings ?. notebookSettings ?. python ?. linter ?. config ;
70- const customizedLinterConfig =
71- customizedSettings ?. notebookSettings ?. python ?. linter ?. config ;
72- const newConfig = customizedLinterConfig ?? defaultLinterConfig ;
73-
7467 // Deep merge settings but replace arrays instead of merging them
7568 const newSettings = mergeWith (
7669 { } ,
@@ -84,9 +77,6 @@ export const getSettings = memoize(
8477 }
8578 ) as UndoPartial < State [ 'workspace' ] [ 'data' ] [ 'settings' ] > ;
8679
87- if ( newSettings . notebookSettings ?. python ?. linter ) {
88- newSettings . notebookSettings . python . linter . config = newConfig ;
89- }
9080 return newSettings ;
9181 }
9282) ;
You can’t perform that action at this time.
0 commit comments