paperdave / various

Various libraries and applications related to TypeScript. Everything is contained in a monorepo to improve productivity and reduce boilerplate.
MIT License
30 stars 3 forks source link

[eslint-config-dave] use typescript-eslint rules #1

Closed paperdave closed 2 years ago

paperdave commented 2 years ago

code from capslaw repository is causing two lint errors.

export abstract class ComponentLogic<T = unknown> {
  constructor(readonly definition: DeepReadonly<ComponentData>) {
    throw new Error('Not implemented');
  }
  abstract init(data: DeepReadonly<T>): void;
}

this ones from no-unused-vars since eslint doesn't know that these variables don't need to be used to be used, since it's abstract. i need to go through all ts eslint rules and set it up properly.