After a simple discussion on twitter I've taken what I've always done to try to improve legibility:
std code:
const data = {
a: "something",
b: "something else",
c: "others"
After a simple discussion on twitter I've taken what I've always done to try to improve legibility:
std code:
const data = {
a: "something",
b: "something else",
c: "others"
'use strict'; | |
var yeoman = require('yeoman-generator'); | |
var chalk = require('chalk'); | |
var yosay = require('yosay'); | |
module.exports = yeoman.Base.extend({ | |
prompting: function () { | |
// Have Yeoman greet the user. | |
this.log(yosay( | |
'Welcome to the amazing ' + chalk.red('generator-try-mb') + ' generator!' |
'use strict'; | |
var yeoman = require('yeoman-generator'); | |
var chalk = require('chalk'); | |
var yosay = require('yosay'); | |
module.exports = yeoman.Base.extend({ | |
prompting: function () { | |
// Have Yeoman greet the user. | |
this.log(yosay( | |
'Welcome to the amazing ' + chalk.red('generator-try-mb') + ' generator!' |