You are working on a project where the client has specific linting rules. How can you modify the existing linting rules of an Angular CLI project?
- Modify the .angular-cli.json file
- Modify the .eslintrc.json file
- Modify the package.json file
- Modify the tslint.json file
To modify the linting rules of an Angular CLI project, you should edit the .eslintrc.json file. This file contains the configuration for ESLint, allowing you to customize linting rules to meet the client's specific requirements.
Loading...
Related Quiz
- To pass matrix parameters in a route, you can use the ________ syntax in the router link.
- What is the primary role of Effects in NgRx?
- One of the primary benefits of implementing the ControlValueAccessor interface for a custom form control is that it allows the control to fully integrate with Angular's ________ system.
- You notice that certain components in your application are re-rendered even when their input data remains unchanged. What could be a potential solution to optimize this behavior?
- For a directive to modify the value of a host property, you would use the ______ decorator.