An open API service indexing awesome lists of open source software.

https://github.com/urish/console-log-fix

Quick demo of Search-and-Replace with TSQuery
https://github.com/urish/console-log-fix

ast example tsquery typescript

Last synced: 10 months ago
JSON representation

Quick demo of Search-and-Replace with TSQuery

Awesome Lists containing this project

README

          

# console-log-fix

Code refactoring with TSQuery demo.

Looks inside class methods and replaces all `console.log()` calls with `this.awesomeLoggingService.logInfo`.

[Slides from the TypeScript AST talk](https://goo.gl/XovXRV)

## Usage

```shell
yarn
yarn start
```

## Runing tests

```shell
yarn test
```

## License

Copyright (C) 2018, Uri Shaked. Licensed under the terms of the MIT license.