← All fixes
ESLint couldn't find an eslint.config.(js|mjs|cjs) file (ESLint 9 flat config)
#123Error
ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
Why it happens, and why this works
ESLint 9 only reads the new flat config file, eslint.config.js. Projects with .eslintrc.json / .eslintrc.js (the old format) fail after upgrading.
Fix
Create eslint.config.js (or run npx @eslint/migrate-config .eslintrc.json to convert the old one). Minimal: import js from '@eslint/js'; export default [js.configs.recommended];. Or pin eslint@8 if you can't migrate yet.
Did it work?
No reports yet0 worked0 didn't
Tried it yourself?
Related fixes
TS18003: No inputs were found in config file
#43error TS18003: No inputs were found in config file '/app/tsconfig.json'. Specified 'include' paths were '["src"]' and 'exclude' paths were '[]'.
typescriptVerifiedNo reports yet
TS7016: Could not find a declaration file for module 'express'
#39error TS7016: Could not find a declaration file for module 'express'. '/app/node_modules/express/index.js' implicitly has an 'any' type.
typescriptexpressVerifiedNo reports yet
GH001: Large files detected, file exceeds GitHub's file size limit of 100.00 MB
#109remote: error: File data/model.bin is 120.00 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: GH001: Large files detected. You may want to try Git Large File Storage