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.
Loading...
Related Quiz
- The async keyword is used before a function to make it return a ________.
- When using dynamic imports, the import() function returns a ________.
- How can you optimize the rendering performance of template engines like EJS and Pug?
- In Express.js, the :id? in a route path like "/users/:id?" denotes that id is a(n) ______ parameter.
- How can you import a specific item from a module in ES6+?