extension/src/experiments/model/index.ts
File index.ts
has 758 lines of code (exceeds 300 allowed). Consider refactoring. Open
Open
import { Memento } from 'vscode'
import { SortDefinition, sortExperiments } from './sortBy'
import { FilterDefinition, filterExperiment, getFilterId } from './filterBy'
import { collectFiltered, collectUnfiltered } from './filterBy/collect'
import {
ExperimentsModel
has 84 functions (exceeds 30 allowed). Consider refactoring. Open
Open
export class ExperimentsModel extends ModelWithPersistence {
private workspace = {} as Experiment
private cliError: undefined | string
private commits: Experiment[] = []
private experimentsByCommit: Map<string, Experiment[]> = new Map()