Q. What does the Angular CLI command `ng lint` do?

  • (A) Checks code for syntax and style errors
  • (B) Formats the code
  • (C) Builds the application
  • (D) Runs tests
πŸ’¬ Discuss
βœ… Correct Answer: (A) Checks code for syntax and style errors
Explanation: `ng lint` runs static code analysis based on defined linting rules.
Explanation by: Mr. Dubey
`ng lint` runs static code analysis based on defined linting rules.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate