Codelyzer in tslint.json not found
See original GitHub issueIf I run ng lint
with the angular cli version 1.0.1 i get the following error.
Failed to load [pathToProject]/node_modules/ng2-markdown-to-html/tslint.json:
Could not find custom rule directory: [pathToProject]/node_modules/ng2-markdown-to-html/node_modules/codelyzer
Changing the path to ../codelyzer
seems to work around the problem but
maybe you have a better solution.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
ng lint Could not find custom rule directory: codelyzer with ...
In the trade-up-common package, I have added tslint.json to the .npmignore file. Codelyzer is included in the dependencies of both the main ...
Read more >codelyzer
codelyzer. A set of tslint rules for static code analysis of Angular TypeScript projects. (If you are using ESLint check out the new ......
Read more >angular-tslint-rules: a configuration preset for both TSLint & ...
Containing a set of TSLint and codelyzer rules, angular-tslint-rules has been ... that are not listed as a dependency in the project's package.json...
Read more >How to extend TSLint rules with custom rules
The Codelyzer has custom rules that provide a way to lint Angular/TypeScript projects. ... Step 2. Then, we open the tslint.json file in...
Read more >New Section - Angular Components and Core Directives
package.json is missing @angular/localize . ... npm ERR! peer tslint@"^3.9.0" from codelyzer@0.0.28 ... It appears you need tslint which is deprecated.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
run “npm install codelyzer”,I succeed
Here is a repo that produces that error. informaterian/ng2-markdown-test