babel-eslint
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.
Usage
Install
$ npm install 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