One Style You Might Like
This is a fork of Standard with two changes:
- Tabs for indentions
- Semicolons always
It is called happiness, because we hope that it brings you joy, love and ends strife among your fellow developers.
Reminder: Happiness is not for everyone. Some people will choose to be sad, normal and some might even say "standard". That is alright. A happy person is comfortable with being them and fine to let others be who they want to be. "You do you"
If the information you are looking for is not in this readme, you should take a look at the Standard readme, it might have what you are looking for.
$ npm install happiness
globally as a Node command line program. To do so, simply run the following command in
your terminal (flag
happiness globally on your system, omit it if you want
to install in the current working directory):
$ npm install happiness -g
After you've done that you should be able to use the
happiness program. The simplest use
You can optionally pass in a directory (or directories) using the glob pattern. Be sure to quote paths containing glob patterns so that they are expanded by standard instead of your shell:
$ happiness "src/util/**/*.js" "test/**/*.js"
Many people like to add happiness to their testing setup. To do this, save the packge as a dev dependency and add happiness to your package.json's test script:
$ npm install --save-dev happiness
Note: by default
happiness will look for all files matching the patterns:
Use this in one of your projects? Include one of these badges in your readme to let people know that your code is using the standard style.
Text editor plugins
I want to contribute to
happiness. What packages should I know about?
- happiness - this repo
- happiness-format - Coming Soon automatic code formatter
- snazzy - pretty terminal output for happiness
MIT. Copyright (c) Feross Aboukhadijeh.