You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmessage=`No ESLint configuration has been found.
51
+
52
+
${chalk.bgGreen.black('','FIX','')} Run command ${chalk.yellow('./node_modules/.bin/eslint --init')} or manually create a ${chalk.yellow('.eslintrc.js')} file at the root of your project.
53
+
54
+
If you prefer to create a ${chalk.yellow('.eslintrc.js')} file by yourself, here is an example to get you started:
55
+
56
+
${chalk.yellow(`// .eslintrc.js
57
+
module.exports = {
58
+
parser: 'babel-eslint',
59
+
extends: ['eslint:recommended'],
60
+
}
61
+
`)}
62
+
63
+
Install ${chalk.yellow('babel-eslint')} to prevent potential parsing issues: ${packageHelper.getInstallCommand([[{name: 'babel-eslint'}]])}
0 commit comments