mgechev / mgechev/codelyzer

How to Run Codelyzer

Open
#988 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.5k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

Hi All,

I got below error when i execute npm run lint command (ERROR : angular-seed@1.0.0 lint: `gulp tslint)

Actually i want to run my code through codelyzer and im following this link https://www.npmjs.com/package/codelyzer for installation or setup codelyzer in ubuntu.
![image](https://user-images.githubusercontent.com/7812871/101657156-93c3ec80-3a69-11eb-9be9-8ffd0153aa6e.png)

Here is the screenshot of npm, nodejs, gulp and angular version showing.

image
![image](https://user-images.githubusercontent.com/7812871/101657135-8dce0b80-3a69-11eb-9574-ad614877e458.png)

and
image
![image](https://user-images.githubusercontent.com/7812871/101657128-89a1ee00-3a69-11eb-8ceb-347175514a72.png)

when i type ng serve below is the screenshot it showing in my browser
image
![image](https://user-images.githubusercontent.com/7812871/101657114-84dd3a00-3a69-11eb-87f2-5dc453cf3a59.png)

My company want to run code in local and output should show in command prompt or in terminal NOT FROM BROWSER or UI.

Please help me im new in codelyzer ..i dont know how to use it and how to execute it.
And how to solve above issue

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `npm run lint` failure and compare the setup with the linked Codelyzer installation guide. Check whether the expected lint results can be produced in the terminal rather than through `ng serve`; done means documenting a working command sequence and resolving the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.