Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
My code style validation: ~/.jshintrc with atom's linter + linter-jshint
// validate code
"freeze": true, // prohibits overwriting prototypes
"unused": true,
"undef": true,
// relaxing options
"expr": true, // suppresses warnings about expressive expressions, like ?
"laxbreak": true, // allow line breaking
"lastsemic": true, // suppresses warnings about last missing semicolon
"noyield": true, // allow simple koa middleware
// environments
"node": true,
"esnext": true,
"browser": true,
"mocha": true,
// globals
"globals": {
"Promise": true,
"Event": true,
"Notification": true,
"after": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment