open-wc-ts-element

@open-wc template adapted to play nice with TypeScript

Stars
2
Committers
2

@open-wc project template, tweaked to work with Typescript

The template sets up @open-wc/linting and @open-wc/testing.

To get running in a real project one will have to add other @open-wc templates by running npm init @open-wc

Changes compared to standard templates

  • Linting
    • Adds standard
    • Semicolons disabled
    • Uses @typescript-eslint parser and config
    • Default Typescript indentation changed to 2 spaces
    • Ignore warnings from eslint (--quiet)
    • tsc --noEmit running as git hook
  • Testing
    • Browserstack limited to a single concurrent job
  • Typescript
    • Strict
    • Source in src directory to reduce clutter