Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
ESLint使っているときに表題のエラーが発生
.eslintrcに以下の設定を追加で解決
"parserOptions": { "sourceType": "module" },
参考
ESLint使っているときに表題のエラーが発生
.eslintrcに以下の設定を追加で解決
"parserOptions": { "sourceType": "module" },
参考