Zet - How do I get types for eslint configurations?
How do I get types for eslint configurations?
First install the types for eslint
npm install @types/eslint
Then inside your eslintrc.js file reference the configuration type using jsdoc
/** @type {import("@types/eslint").ESLint.ConfigData} */
module.exports = {
extends: ["custom"],
#eslint