Nonstick Pancake Maker

    mu-eslint

    0.0.2 • Public • Published

    babel-eslint Build Status

    babel-eslint allows you to lint ALL valid Babel code with the fantastic ESLint.

    NOTE: Please note that this is experimental and may have numerous bugs. It is however successfuly linting the babel core.

    How does it work?

    ESLint allows custom parsers. This is great but some of the syntax nodes that Babel supports aren't supported by ESLint. When using this plugin, ESLint is monkeypatched and your code is transformed into code that ESLint can understand. All location info such as line numbers, columns is also retained so you can track down errors with ease.

    Usage

    Install

    $ npm install -g eslint babel-eslint

    Setup

    .eslintrc

    {
      "parser": "babel-eslint",
      "rules": {
        "strict": 0
      }
    }

    Check out the ESLint docs for all possible rules.

    Run

    $ eslint your-files-here

    Keywords

    none

    Install

    npm i mu-eslint

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • tav