babel-plugin-undeclared-variables-check
Throw a compile-time error on references to undeclared variables
Last updated 3 years ago by hzoo .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install babel-plugin-undeclared-variables-check 
SYNC missed versions from official npm registry.

babel-plugin-undeclared-variables-check

Throw a compile-time error on references to undeclared variables

Installation

$ npm install babel-plugin-undeclared-variables-check

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["undeclared-variables-check"]
}

Via CLI

$ babel --plugins undeclared-variables-check script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["undeclared-variables-check"]
});

Current Tags

  • 6.22.0                                ...           latest (3 years ago)

14 Versions

  • 6.22.0                                ...           3 years ago
  • 6.8.0                                ...           4 years ago
  • 6.7.2                                ...           4 years ago
  • 6.5.0-1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.3.13                                ...           5 years ago
  • 6.2.4                                ...           5 years ago
  • 6.1.18                                ...           5 years ago
  • 6.1.17                                ...           5 years ago
  • 6.1.4                                ...           5 years ago
  • 6.0.14                                ...           5 years ago
  • 6.0.2                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |