Javascript convention and standardization.
Babel has been configured to:
- Ensure feature sets are identical on server & client
- Support
es2015
andstage-1
- Additional plugins:
add-module-exports
- Ensures commonjs & ES6 exports behave the same
async-to-module-method
- Ensures all
async
functions retunrbluebird
promises
- Ensures all
Eslint has been configured to:
- Conform to the style guide, roughly
- Autofix various aspects
- Trigger on some anti-patterns
- Detect unused variables, and undefined variables in use
- To be used in the editor only as to not effect build times
To configure eslint for atom
:
- Install the
linter-eslint
atom package (andlinter
) npm install
within each project directory, ensuringbabel-eslint
is avaliable to the editor.
See license