Neatly Packaged Magic

    rmv-bikeshed

    0.0.1 • Public • Published

    bikeshed

    End-all solution to typescript code style in a handy wrapper. Using tslint with (almost) standard config, and pre-configured prettier. Optionally also run jest.

    This bundles all the stuff I usually end up using in a single place.

    Standard config, but with comma dangle. No-semi, yes-comma just makes it easier to add, remove, or reorder lines. Additional lint rules to check import/property order to keep things even more consistent. And that's it.

    Installation and usage

    Use together with husky

    yarn add --dev husky bikeshed
    

    in package.json scripts:

    "scripts": {
        "precommit": "bikeshed -c"
        "prepush": "bikeshed"
    }
    

    TODO:

    • tests

      • fix arguments
      • fix project
      • fix staged
    • features

      • fix arguments
      • fix project
      • fix staged

      maybe:

    • jest with findRelatedFiles

    • watch mode (on git-add?)

    Keywords

    none

    Install

    npm i rmv-bikeshed

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    5

    Last publish

    Collaborators

    • dspc
    • rmv