-
-
Notifications
You must be signed in to change notification settings - Fork 49
Closed as not planned
Labels
Description
There seems to be an issue with loading the .eslintrc file:
Cannot read config file: /Users/sh/projects/tests/delete_me/.eslintrc.js Error: require() of ES Module
/Users/sh/projects/tests/delete_me/.eslintrc.js from
/Users/sh/projects/tests/delete_me/node_modules/@eslint/eslintrc/dist/eslintrc.cjs not supported. Instead change the
require of .eslintrc.js in /Users/sh/projects/tests/delete_me/node_modules/@eslint/eslintrc/dist/eslintrc.cjs to a dynamic
import() which is available in all CommonJS modules.
ESlint related dependency versions:

In order to reproduce this issue, you can just initialise a Svelte project with having the eslint / prettier enabled, by running this:
npm init svelte@next.
PS project type set to module.
cc @mdjermanovic