{"action":"closed","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/4317","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/4317/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/4317/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/4317/events","html_url":"https://github.com/palantir/tslint/issues/4317","id":384299206,"node_id":"MDU6SXNzdWUzODQyOTkyMDY=","number":4317,"title":"Custom rule sets don't work","user":{"login":"ArthurConan","id":25877951,"node_id":"MDQ6VXNlcjI1ODc3OTUx","avatar_url":"https://avatars1.githubusercontent.com/u/25877951?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthurConan","html_url":"https://github.com/ArthurConan","followers_url":"https://api.github.com/users/ArthurConan/followers","following_url":"https://api.github.com/users/ArthurConan/following{/other_user}","gists_url":"https://api.github.com/users/ArthurConan/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthurConan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthurConan/subscriptions","organizations_url":"https://api.github.com/users/ArthurConan/orgs","repos_url":"https://api.github.com/users/ArthurConan/repos","events_url":"https://api.github.com/users/ArthurConan/events{/privacy}","received_events_url":"https://api.github.com/users/ArthurConan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-26T12:01:27Z","updated_at":"2018-11-27T04:19:32Z","closed_at":"2018-11-27T04:19:31Z","author_association":"NONE","body":"I use TSLint just to scan files ( not whole project)  with js or ts code there through command line.\r\nI decided to implement rules:  \"tslint-config-security\",\"tslint-microsoft-contrib\", \"tslint-sonarts\".\r\nMy steps: \r\n1) npm install tslint-microsoft-contrib\r\n(npm install tslint-config-security)\r\n(npm install tslint-sonarts)\r\n2) include to extends\r\n \"extends\": [\"tslint:recommended\", \"tslint-config-security\",\"tslint-microsoft-contrib\", \"tslint-sonarts\", ],\r\n3) include path to rules\r\n\"rulesDirectory\": [\"node_modules/tslint-microsoft-contrib\", \"node_modules/tslint-config-security/dist/rules\",\"node_modules/tslint-sonarts/lib/rules\"],\r\n4) all necessary rules are TRUE\r\n5) and run\r\ntslint folder/file.js\r\n\r\nWHY these rules don't work?? \r\nI just get errors with common TSLint rules such:  \"Forbidden 'var' keyword, use 'let' or 'const' instead\", \"non-arrow functions are forbidden\" and so on\r\nAnd don't get error such  \"no-document-domain\", \"no-document-write\" (these functions ARE in files)\r\nWHAT am I doing wrong?\r\n\r\n\r\nThanks in advance!!!!!!"}}
{"actor":{"display_login":"JoshuaKGoldberg"}}