ember-array-index-template-codemod

Codemods for transforming template array access to use get helper where appropriate

Usage no npm install needed!

<script type="module">
  import emberArrayIndexTemplateCodemod from 'https://cdn.skypack.dev/ember-array-index-template-codemod';
</script>

README

ember-array-index-template-codemod

A collection of codemod's for ember-array-index-template-codemod.

Usage

To run a specific codemod from this project, you would run the following:

npx ember-array-index-template-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add ember-array-index-template-codemod
ember-array-index-template-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update Documentation

  • yarn update-docs