{"action":"created","issue":{"url":"https://api.github.com/repos/agershun/alasql/issues/286","labels_url":"https://api.github.com/repos/agershun/alasql/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/agershun/alasql/issues/286/comments","events_url":"https://api.github.com/repos/agershun/alasql/issues/286/events","html_url":"https://github.com/agershun/alasql/issues/286","id":85697923,"number":286,"title":"jsinspect - copy&paste code detector and other JS tools","user":{"login":"agershun","id":643040,"avatar_url":"https://avatars.githubusercontent.com/u/643040?v=3","gravatar_id":"","url":"https://api.github.com/users/agershun","html_url":"https://github.com/agershun","followers_url":"https://api.github.com/users/agershun/followers","following_url":"https://api.github.com/users/agershun/following{/other_user}","gists_url":"https://api.github.com/users/agershun/gists{/gist_id}","starred_url":"https://api.github.com/users/agershun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agershun/subscriptions","organizations_url":"https://api.github.com/users/agershun/orgs","repos_url":"https://api.github.com/users/agershun/repos","events_url":"https://api.github.com/users/agershun/events{/privacy}","received_events_url":"https://api.github.com/users/agershun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/agershun/alasql/labels/quality","name":"quality","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T04:56:08Z","updated_at":"2015-06-06T05:53:39Z","closed_at":null,"body":"AlaSQL definitely needs this type of inspection with:\r\n* [jsinspect](https://github.com/danielstjules/jsinspect)\r\n* [jscpd](https://github.com/kucherenko/jscpd)\r\n\r\nPlus complexity analysis:\r\n* [escomplex](https://github.com/philbooth/escomplex)\r\n\r\nLinters:\r\n* [jshint](http://jshint.com/)\r\n* [eslint](http://eslint.org/)\r\n\r\n> \"To lint, or not to lint, that is the question--\r\n> Whether 'tis Nobler in the mind to suffer\r\n> The Slings and Arrows of outrageous bugs,\r\n> Or to take Arms against JavaScript's bad parts,\r\n> And by opposing, end them?\"\r\n([Source](http://elijahmanor.com/talks/js-smells/#/0/3))"},"comment":{"url":"https://api.github.com/repos/agershun/alasql/issues/comments/109534301","html_url":"https://github.com/agershun/alasql/issues/286#issuecomment-109534301","issue_url":"https://api.github.com/repos/agershun/alasql/issues/286","id":109534301,"user":{"login":"mathiasrw","id":1063454,"avatar_url":"https://avatars.githubusercontent.com/u/1063454?v=3","gravatar_id":"","url":"https://api.github.com/users/mathiasrw","html_url":"https://github.com/mathiasrw","followers_url":"https://api.github.com/users/mathiasrw/followers","following_url":"https://api.github.com/users/mathiasrw/following{/other_user}","gists_url":"https://api.github.com/users/mathiasrw/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiasrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiasrw/subscriptions","organizations_url":"https://api.github.com/users/mathiasrw/orgs","repos_url":"https://api.github.com/users/mathiasrw/repos","events_url":"https://api.github.com/users/mathiasrw/events{/privacy}","received_events_url":"https://api.github.com/users/mathiasrw/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T05:53:38Z","updated_at":"2015-06-06T05:53:38Z","body":":100: :+1: \r\n\r\nBithound is partly based on jshint and jsinspect - so we are one step on the way. Now we just need to act on the inputs :)\r\n\r\nThe best thing would be to implement it as part of the tests so we get notified right away... it just need us to get to a level where we limit the amount of warnings to 0 / few so you actually look at the result after each run. \r\n\r\nBy the way, changed gulp so it runs the tests for each compile. It does so after generating alasql.js but before alasql.min.js - so you can still quickly reload any website using the alasql.js file while developing features. \r\n\r\n"}}