A small collection of ESLint rules that enforce more strict stylistic conventions for the layout of multi-property objects.
Install ESLint either locally or globally, and then install the plugin (see below). It is important to note that a global instance of ESLint can only use plugins that are also installed globally. A local instance of ESLint, however, can make use of both local and global ESLint plugins.
$ npm install -g eslint $ npm install -g eslint-plugin-objects
$ npm install --save-dev eslint $ npm install --save-dev eslint-plugin-objects
plugins section to your config file if not already present and specify
eslint-plugin-objects as a plugin. The
eslint-plugin- prefix may be omitted:
Enable the rules that you would like to use, for example:
This plugin has been tested and confirmed to work with ESLint versions 0.18.0 and later.
See the change log file for more details.
Name: David WaterstonEmail: email@example.comKey ID: A7AD9C85Signature: 71A9 DC13 447A 1E4F C6EB 5D64 DE08 A991 A7AD 9C85
This public key is included in the repository with a SHA1 of 16d013451476fa4a1a67d6ad4b90583e205b53b1.
After cloning the repo, and assuming you have GPG installed correctly, you can import this key into your keychain
git cat-file blob pubkey | gpg --import
When this public key is successfully imported, you can use it to verify the integrity of any of the tagged releases of this repo
git tag -v v1.0.0
which should produce output similar to:
object 04f37a55784c1f3abc2cf927a935a488aa954035type committag v1.0.0tagger David Waterston <firstname.lastname@example.org> 1427387056 +0000Initial commitThis is just an example so don't get fixated on the details, what matters is the signature!gpg: Signature made Thu 26 Mar 16:24:16 2015 GMT using RSA key ID A7AD9C85gpg: Good signature from "David Waterston <email@example.com>" [ultimate]
The important thing to notice here is that the RSA key ID matches mine (A7AD9C85) and the line that says that this is a good signature.
The public key can further be verified by checking the details held on pgp.mit.edu.
Copyright (c) 2015 David Waterston. All rights reserved.
Distributed under an MIT license. See the LICENSE file for more details.