Provide a defineConfig function for .eslintrc.js files
Luozhu's practice in Front End Engineering and Components Development.