Replace legacy .eslintrc with eslint.config.mjs flat config. Update to ESLint 10, typescript-eslint v8, and eslint-plugin-jsdoc v62. Resolve all lint warnings and tighten configuration.