[17:34:51] 'lint-src' errored after 361 ms
[17:34:51] ESLintError in plugin "gulp-eslint"
Message:
Parsing error: ImportDeclaration should appear when the mode is ES6 and in the module context.
Details:
fileName: D:\Family-Tree\dTree\src\dtree.js
lineNumber: undefined
[17:34:51]
D:\Family-Tree\dTree\src\dtree.js
0:0 error Parsing error: ImportDeclaration should appear when the mode is ES6 and in the module context
[17:34:51] 'lint-src' errored after 361 ms [17:34:51] ESLintError in plugin "gulp-eslint" Message: Parsing error: ImportDeclaration should appear when the mode is ES6 and in the module context. Details: fileName: D:\Family-Tree\dTree\src\dtree.js lineNumber: undefined
[17:34:51] D:\Family-Tree\dTree\src\dtree.js 0:0 error Parsing error: ImportDeclaration should appear when the mode is ES6 and in the module context
✖ 1 problem (1 error, 0 warnings)
please help me to resolve this issue.