asarudick / sasquatch

A configurable code modifier for typescript and friends. Can transform entire codebases to enforce better coding practices, eliminate tech debt in one fell swoop, and catch bad code before it is committed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Code Climate

sasquatch

A configurable code modifier for typescript and friends. Can transform entire codebases to enforce better coding practices, eliminate tech debt in one fell swoop, and catch bad code before it is committed.

Installation

  • Install globally: npm i -g sasquatch

Usage

  • sasquatch <file|glob>

Configuration

By default, all transforms will be executed. If you want to whitelist transforms for a project, copy default.config.ts to your_project_root/sasquatch.config.ts and remove any transforms you don't want.

Shoutout

This project heavily depends on https://dsherret.github.io/ts-morph/, so huge shoutout to dsherret for his work there and thorough documentation.

About

A configurable code modifier for typescript and friends. Can transform entire codebases to enforce better coding practices, eliminate tech debt in one fell swoop, and catch bad code before it is committed.


Languages

Language:TypeScript 91.2%Language:JavaScript 8.8%