- Fork this repository to your own GitHub account and then clone it to your local device.
- Run
npm install
to install the dependencies.
Note that both npm and yarn have been seen to miss installing dependencies. To remedy that, you can either delete the
node_modules
folder in your example app and install again or do a local install of the missing dependencies.
yarn test
- Fill in the required template
- Do not include issue numbers in the PR title
- Include screenshots and animated GIFs in your pull request whenever possible.
- Follow the JavaScript and CoffeeScript styleguides.
- Include thoughtfully-worded, well-structured Jasmine specs in the
./spec
folder. Run them usingatom --test spec
. See the Specs Styleguide below. - Document new code based on the Documentation Styleguide
- End all files with a newline
- Avoid platform-dependent code
- Place requires in the following order:
- Built in Node Modules (such as
path
) - Built in Atom and Electron Modules (such as
atom
,remote
) - Local Modules (using relative paths)
- Built in Node Modules (such as
- Place class properties in the following order:
- Class methods and properties (methods starting with a
@
in CoffeeScript orstatic
in JavaScript) - Instance methods and properties
- Class methods and properties (methods starting with a
All JavaScript must adhere to JavaScript Standard Style.
- Prefer the object spread operator (
{...anotherObj}
) toObject.assign()
- Inline
export
s with expressions whenever possible
// Use this:
export default class ClassName {
}
// Instead of:
class ClassName {
}
export default ClassName