Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ember-codemods/ember-no-implicit-this-codemod

Template codemod for refactoring from `{{foo}}` to `{{this.foo}}`
https://github.com/ember-codemods/ember-no-implicit-this-codemod

codemod ember template

Last synced: about 1 month ago
JSON representation

Template codemod for refactoring from `{{foo}}` to `{{this.foo}}`

Awesome Lists containing this project

README

        

# ember-no-implicit-this-codemod

[![Build Status](https://travis-ci.com/ember-codemods/ember-no-implicit-this-codemod.svg?branch=master)](https://travis-ci.com/ember-codemods/ember-no-implicit-this-codemod)

[![npm](https://img.shields.io/npm/v/ember-no-implicit-this-codemod.svg?label=npm)](https://www.npmjs.com/package/ember-no-implicit-this-codemod)

## Usage

1. Start your ember development server
2. Run Codemod, pointing it at the address of the development server
```
npx ember-no-implicit-this-codemod http://localhost:4200 path/of/files/ or/some**/*glob.hbs
```

## Contributing

### Installation

* clone the repo
* change into the repo directory
* `yarn`

### Running tests

* `yarn test`

#### Running a single test

* `yarn test --runInBand --testNamePattern=void-elements`