JavaScript Development Environment

I’m working on ubuntu linux 14.04 LTS with Docker and my favorite IDE for development is Atom with some plugins. No more anything need for comfort development.


Docker   Atom   Git   bower


How to Disable caching in Chrome Developer Tools

Developer Tools (Ctrl + Shift + I) > Menu icon (the 3 vertical dots) > Settings > Preferences > scroll down the list to “Network section” and you’ll see the “Disable cache” while DevTools is open


Setting up a Minimal, Yet Useful JavaScript Dev Environment

https://dev.to/corgibytes/setting-up-a-minimal-yet-useful-javascript-dev-environment


React and Flux: Migrating to ES6 with Babel and ESLint

https://medium.com/front-end-developers/react-and-flux-migrating-to-es6-with-babel-and-eslint-6390cf4fd878#.kt4kkx7rb


ESLint first try

http://eslint.org/docs/rules/#stylistic-issues

# npm install -g eslint

$ vi .eslintrc


{
  "rules": {
    "quotes": [2, "single", "avoid-escape"],
    "eqeqeq": 0,
    "brace-style": [2, "stroustrup"],
    "eol-last": 0,
    "no-nested-ternary": 1,
    "padded-blocks": [1, "never"],
    "space-after-function-name": [1, "never"],
    "space-before-blocks": [1, "always"],
  }
}


$ eslint server.js


Continuous Security monitoring

$ npm install -g nsp
$ cd your_app
$ nsp check