tradeship
tradeship copied to clipboard
Automatically imports missing JavaScript dependencies and removes unused ones.
``` tradeship: Unexpected token (169:67) 167 | 169 | label={`side for ${values.maplist[index]?.label}`} | ^ 170 | options={mapSides} 171 | team={values.team1.value ?? 'Team 1'} 172 | /> ``` ``` tradeship: Unexpected...
**Correction**: Only _value_ types are removed erroneously. Snippet updated below. Example input: ```javascript import { User } from "./types"; function updateUser(user: User) { // `User` only used here /* do...
Using the command line `tradeship "my\path"` I get: ``` { Error: EISDIR: illegal operation on a directory, read errno: -4068, code: 'EISDIR', syscall: 'read' } ``` And using the sublime...
My `envNames` looked like `[ 'builtin', 'browser', 'node', 'es6', 'jest/globals' ]` and tradehip was crashing because `globals` doesn't have anything for `jest/globals`.