Skip to content

Commit

Permalink
Drop use of var everywhere
Browse files Browse the repository at this point in the history
Now that we only support Node >= 6, we can safely use const.
  • Loading branch information
nene committed Sep 12, 2018
1 parent 8ae9512 commit 5bb3500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/index.js
@@ -1,4 +1,4 @@
#!/usr/bin/env node
var Cli = require('./../lib/Cli').default; // eslint-disable-line no-var
const Cli = require('./../lib/Cli').default;

new Cli(process.argv).run();
2 changes: 1 addition & 1 deletion index.js
@@ -1,4 +1,4 @@
var createTransformer = require('./lib/createTransformer').default; // eslint-disable-line no-var
const createTransformer = require('./lib/createTransformer').default;

/**
* Exposes API similar to Babel:
Expand Down

0 comments on commit 5bb3500

Please sign in to comment.