shama / ember-no-implicit-this-codemod

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-no-implicit-this-codemod

Build Status

npm

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

About

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

License:MIT License


Languages

Language:JavaScript 53.9%Language:Handlebars 23.6%Language:TypeScript 22.5%