Package Exports
- babel-eslint
- babel-eslint/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-eslint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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