Removes unexpected exceptions and clarifies where we want to avoid console calls.
The .eslintrc and .eslintignore formats are deprecated. The new format uses a single eslint.config.js (or .mjs) file at the top.