{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/3564","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/3564/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/3564/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/3564/events","html_url":"https://github.com/angular/angular-cli/issues/3564","id":195668907,"number":3564,"title":"lint error: TypeError: this.nameValidator is not a function","user":{"login":"neolwc","id":9028430,"avatar_url":"https://avatars.githubusercontent.com/u/9028430?v=3","gravatar_id":"","url":"https://api.github.com/users/neolwc","html_url":"https://github.com/neolwc","followers_url":"https://api.github.com/users/neolwc/followers","following_url":"https://api.github.com/users/neolwc/following{/other_user}","gists_url":"https://api.github.com/users/neolwc/gists{/gist_id}","starred_url":"https://api.github.com/users/neolwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolwc/subscriptions","organizations_url":"https://api.github.com/users/neolwc/orgs","repos_url":"https://api.github.com/users/neolwc/repos","events_url":"https://api.github.com/users/neolwc/events{/privacy}","received_events_url":"https://api.github.com/users/neolwc/received_events","type":"User","site_admin":false},"labels":[{"id":444999972,"url":"https://api.github.com/repos/angular/angular-cli/labels/need:%20investigation","name":"need: investigation","color":"fbca04","default":false},{"id":372202322,"url":"https://api.github.com/repos/angular/angular-cli/labels/priority:%203%20(nice%20to%20have)","name":"priority: 3 (nice to have)","color":"0052cc","default":false},{"id":220593710,"url":"https://api.github.com/repos/angular/angular-cli/labels/type:%20bug","name":"type: bug","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-14T22:52:20Z","updated_at":"2016-12-15T21:17:35Z","closed_at":null,"body":"> Please provide us with the following information:\r\n\r\n### OS?\r\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n\r\nmacOS Sierra\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n\r\nangular-cli: 1.0.0-beta.22-1\r\nnode: 7.2.0\r\nos: darwin x64\r\n\r\n### Repro steps.\r\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n\r\n`ng lint`\r\n\r\n### The log given by the failure.\r\n> Normally this include a stack trace and some more information.\r\n\r\n```\r\n> tslint \"src/**/*.ts\"\r\n\r\n.../node_modules/tslint/lib/tslint-cli.js:234\r\n    throw error;\r\n    ^\r\n\r\nTypeError: this.nameValidator is not a function\r\n    at Rule.SelectorRule.validateName (.../node_modules/codelyzer/selectorNameBase.js:40:25)\r\n    at .../node_modules/codelyzer/selectorNameBase.js:125:33\r\n    at Array.every (native)\r\n    at validateSelectors (.../node_modules/codelyzer/selectorNameBase.js:124:39)\r\n    at .../node_modules/codelyzer/selectorNameBase.js:132:27\r\n    at Array.forEach (native)\r\n    at SelectorValidatorWalker.validateSelector (.../node_modules/codelyzer/selectorNameBase.js:121:18)\r\n    at SelectorValidatorWalker.validateDecorator (.../node_modules/codelyzer/selectorNameBase.js:113:18)\r\n    at Array.forEach (native)\r\n    at SelectorValidatorWalker.visitClassDeclaration (.../node_modules/codelyzer/selectorNameBase.js:103:14)\r\n```\r\n\r\n### Mention any other details that might be useful.\r\n\r\n> Thanks! We'll be in touch soon.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/267446509","html_url":"https://github.com/angular/angular-cli/issues/3564#issuecomment-267446509","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/3564","id":267446509,"user":{"login":"mgechev","id":455023,"avatar_url":"https://avatars.githubusercontent.com/u/455023?v=3","gravatar_id":"","url":"https://api.github.com/users/mgechev","html_url":"https://github.com/mgechev","followers_url":"https://api.github.com/users/mgechev/followers","following_url":"https://api.github.com/users/mgechev/following{/other_user}","gists_url":"https://api.github.com/users/mgechev/gists{/gist_id}","starred_url":"https://api.github.com/users/mgechev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgechev/subscriptions","organizations_url":"https://api.github.com/users/mgechev/orgs","repos_url":"https://api.github.com/users/mgechev/repos","events_url":"https://api.github.com/users/mgechev/events{/privacy}","received_events_url":"https://api.github.com/users/mgechev/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T21:17:35Z","updated_at":"2016-12-15T21:17:35Z","body":"Yes, most likely the configuration is not valid. The current master contains [valid configuration](https://github.com/angular/angular-cli/blob/master/packages/angular-cli/blueprints/ng2/files/tslint.json). You can fix it manually, by updating `tslint.json` or the fix will come with the next release."}}
{"actor":{"display_login":"mgechev"}}