Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.
/ js-structures Public archive

Structural layouts for JS projects following & setting convention

License

Notifications You must be signed in to change notification settings

nfour/js-structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS STRUCTURES

Javascript convention and standardization.

Guides

BABEL

Babel has been configured to:

  • Ensure feature sets are identical on server & client
  • Support es2015 and stage-1
  • Additional plugins:
    • add-module-exports
      • Ensures commonjs & ES6 exports behave the same
    • async-to-module-method
      • Ensures all async functions retunr bluebird promises

LINTING

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 (and linter)
  • npm install within each project directory, ensuring babel-eslint is avaliable to the editor.

LICENSE

See license

About

Structural layouts for JS projects following & setting convention

Resources

License

Stars

Watchers

Forks

Packages

No packages published