What is the role of the extends property in an ESLint configuration file?

  • It specifies the file extensions to be linted.
  • It extends the code editor with ESLint features.
  • It defines the list of plugins to use.
  • It inherits configurations from other configurations.
The extends property in an ESLint configuration file allows you to inherit configurations from other configurations. It's a way to reuse or build upon existing ESLint configurations, making it easier to enforce consistent coding standards across projects.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *