build: refine eslint configuration after ESM defaulting