# Import-JS Atom plugin

This is the Atom plugin for Import-JS.

## Installing

1. Install the plugin via Atom's package manager.

2. Install the import_js gem

   ```sh
   gem install import_js
   ```

3. Install eslint

   ```sh
   npm install -g eslint
   ```

4. [Configure import-js for your
   project](https://github.com/trotzig/import-js#configuration)

5. Open the root of your project as a folder (File -> Add Project Folder…)

6. Import a file!

   Whenever you have undefined variables, open the Command Palette
   (`CTRL+SHIFT+P`/`CMD+SHIFT+P`) and select "Import Js: Fix all imports", or
   "ImportJS: Import word under cursor".

# Import-JS Atom plugin

This is the Atom plugin for Import-JS.

## Installing

1. Install the plugin via Atom's package manager.

2. [Configure import-js for your
   project](https://github.com/galooshi/import-js#configuration)

3. Open the root of your project as a folder (File -> Add Project Folder…)

4. Import a file!

   Whenever you have undefined variables, open the Command Palette
   (`CTRL+SHIFT+P`/`CMD+SHIFT+P`) and select "Import JS: Fix all imports", or
   "ImportJS: Import word under cursor".

Update readme for new version of plugin
Update readme for new version of plugin

We are converting import-js to JavaScript, so these instructions can be
simplified a little.
