See https://typescript-eslint.io/getting-started#step-2-configuration, this will enable type checking of the ESLint config file.