{"push_id":1702052682,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"ffd450cb679327a4867238222649bd258cc098d2","before":"c9ea4dda2ca88325da0b8632b96d67c4c77bcdcd","commits":[{"sha":"ffd450cb679327a4867238222649bd258cc098d2","author":{"name":"Joseph Frazier","email":"ea56cf72b6d11a28f83bf6fef23e26a7fb208731@gmail.com"},"message":"Add eslint to enforce code style\n\nThis will make it easier to automatically enforce the pre-existing code\nstyle of the project, using [eslint]. It was done by running:\n\n    npm install --save-dev eslint\n    ./node_modules/.bin/eslint --init\n\n[eslint]: https://github.com/eslint/eslint/\n\nThis script interactively generates an eslint configuration (see [here]).\nHere's how I answered its questions:\n\n* Choosing `Inspect your JavaScript file(s)`\n* Entering `src` as the files to inspect\n* Choosing a JavaScript config file format\n* Answering yes to ES6 features/classes\n* Choosing both Node/Browser as environment\n* Answering yes to CommonJS\n* Answering no to JSX/React\n\n[here]: http://devnull.guru/adding-eslint-to-your-project-is-easier-than-ever/\n\nAfter that, I added the `lint` script to package.json, and manually\nchanged the `space-before-function-paren` to:\n\n    \"space-before-function-paren\": [\n        \"error\",\n        \"never\"\n    ],\n\nto enforce the rule mentioned here:\n\n* https://github.com/slevithan/xregexp/pull/180#discussion_r113109471\n* https://github.com/slevithan/xregexp/pull/180#discussion_r113109489","distinct":true,"url":"https://api.github.com/repos/slevithan/xregexp/commits/ffd450cb679327a4867238222649bd258cc098d2"}]}
{"actor":{"display_login":"slevithan"}}