MCPcopy Create free account
hub / github.com/hashintel/hash / removeImportPlugin

Function removeImportPlugin

libs/@local/eslint/src/deprecated/base.ts:28–39  ·  view source on GitHub ↗
(
  configs: readonly ESConfig[],
)

Source from the content-addressed store, hash-verified

26});
27
28const removeImportPlugin = (
29 configs: readonly ESConfig[],
30): readonly ESConfig[] =>
31 pipe(
32 configs,
33 Array.map(
34 Struct.evolve({
35 plugins: (plugins) =>
36 plugins === undefined ? undefined : Record.remove(plugins, "import"),
37 }),
38 ),
39 );
40
41export const create = (projectDirectory: string) =>
42 [

Callers 1

createFunction · 0.85

Calls 3

pipeFunction · 0.50
mapMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected