Package Exports
- standard-babel-lint
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 (standard-babel-lint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
JavaScript Babel Standard Style
One Style to Rule Them All
No decisions to make. No .eslintrc, .jshintrc, or .jscsrc files to manage. It just
works.
This module saves you (and others!) time in two ways:
- No configuration. The easiest way to enforce consistent style in your project. Just drop it in.
- Catch style errors before they're submitted in PRs. Saves precious code review time by eliminating back-and-forth between maintainer and contributor.
This is a linter for the future, based on the standard linter. It expects to be run within a babel environment, using the latest available babel syntax.
Install
npm install standard-babel-lintRule Differences from Standard
- Always require parent for arrow functions, arrow-parens: always.
- Require commas in a multi-line block, comma-dangle: "always-multiline".
- Arrow functions everywhere, prefer-arrow-callback.
Methodology Differences from Standard
- We will freely update rules based on current best practices. Becuase of this we recommend that you lock down the current version of standard-babel-lint.
- We are currently only targeting the latest javascript syntax, generally this code is transpiled by babel.