{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/1189","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/1189/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/1189/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/1189/events","html_url":"https://github.com/palantir/tslint/issues/1189","id":152048821,"number":1189,"title":"New set of rules released: vrsource-tslint-rules","user":{"login":"abierbaum","id":397889,"avatar_url":"https://avatars.githubusercontent.com/u/397889?v=3","gravatar_id":"","url":"https://api.github.com/users/abierbaum","html_url":"https://github.com/abierbaum","followers_url":"https://api.github.com/users/abierbaum/followers","following_url":"https://api.github.com/users/abierbaum/following{/other_user}","gists_url":"https://api.github.com/users/abierbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/abierbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abierbaum/subscriptions","organizations_url":"https://api.github.com/users/abierbaum/orgs","repos_url":"https://api.github.com/users/abierbaum/repos","events_url":"https://api.github.com/users/abierbaum/events{/privacy}","received_events_url":"https://api.github.com/users/abierbaum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/palantir/tslint/labels/Type:%20Rule%20Suggestion","name":"Type: Rule Suggestion","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-30T19:50:44Z","updated_at":"2016-06-15T16:00:31Z","closed_at":null,"body":"Our team needed several new rules, so I released a package that implements them today.  (many thanks for @JKillian for helping me get the new test system working; it is awesome)\r\n\r\nFull details are available here: https://github.com/vrsource/vrsource-tslint-rules\r\n\r\nThe rules added are:\r\n  * **conditional-expression-parens**: ensure any complete conditional expression clauses use parens\r\n  * **dot-notation-rule**: Use foo.bar instead of foo[\"bar\"]\r\n  * **ext-variable-name**: Massively flexible variable name checker.  Allows cascading rules taking into account variable type and many other options.  Includes regex support.\r\n  * **max-params**: Place limit on number of parameters allowed\r\n  * **multiline-arrow**: Option to enforce need for parens and/or block if arrow function is multi-line.\r\n  * **no-duplicate-imports**: Flag importing from same module multiple times in single file.\r\n  * **prefer-case-blocks**: Check that all case statements use a block.\r\n  * **prefer-const**: Prefer use of const instead of let when never assigned to.  (borrowed from typescript project)\r\n  * **prefer-literal**: Allow flagging locations where \"new Object/Array/Function()\" is called\r\n * **literal-spacing**: Enforce always/never having spaces at beginning and end of array and object literals.\r\n\r\nPlease let me know if you find these useful.  If any of them are generally useful I am more than willing to submit them back to tslint to become part of the base rules."},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/226234324","html_url":"https://github.com/palantir/tslint/issues/1189#issuecomment-226234324","issue_url":"https://api.github.com/repos/palantir/tslint/issues/1189","id":226234324,"user":{"login":"adidahiya","id":723999,"avatar_url":"https://avatars.githubusercontent.com/u/723999?v=3","gravatar_id":"","url":"https://api.github.com/users/adidahiya","html_url":"https://github.com/adidahiya","followers_url":"https://api.github.com/users/adidahiya/followers","following_url":"https://api.github.com/users/adidahiya/following{/other_user}","gists_url":"https://api.github.com/users/adidahiya/gists{/gist_id}","starred_url":"https://api.github.com/users/adidahiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adidahiya/subscriptions","organizations_url":"https://api.github.com/users/adidahiya/orgs","repos_url":"https://api.github.com/users/adidahiya/repos","events_url":"https://api.github.com/users/adidahiya/events{/privacy}","received_events_url":"https://api.github.com/users/adidahiya/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T16:00:30Z","updated_at":"2016-06-15T16:00:30Z","body":"As a first step, I've added a link to your project in our README (https://github.com/palantir/tslint/commit/a1d5eab5530f1916584ad71293cddc86a651c569). Next we'll go through the rules and figure out which ones belong in core TSLint. Thanks @abierbaum!"}}
{"actor":{"display_login":"adidahiya"}}