- install dependencies
- setup .eslintrc to the root of your project
- run
eslint .
Install all needed dependencies
Git for Windows slows down a lot after network change or after use of an VPN. For example ls
or git status
commands took over a minute to complete!
During this slow pace if network is turned off, then git-bash works normally.
Git for Windows uses __git_ps1
internally for getting some info and that alone takes over a minute!
Partial Command History is pretty basic in any *NIX system, but for some reason in Git BASH it's not a default.
This means that when you type partial command in bash and use arrow up/down keys, it goes through only those commands starting with what you have already typed.
In your ~/.inputrc
file you just need to add key bindings:
For detail look here
sudo dpkg-reconfigure tzdata
*.swp | |
*~ | |
*.iml | |
.*.haste_cache.* | |
.DS_Store | |
.idea | |
.babelrc | |
.eslintrc | |
npm-debug.log | |
lib |
{
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
"plugins": [
"import",
"meteor"
],
// working demo in here: https://jsfiddle.net/lehtu/awnuk9f1/ | |
var moment = require('moment'); | |
var start = '2016-01-01'; | |
var end = '2016-12-31'; | |
var weeks = moment(end).diff(start, 'week'); | |
var dates = []; | |
for (var i = 0; i <= weeks; i++) { |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |