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
Copy file name to clipboardExpand all lines: lib/loaders/eslint.js
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -43,20 +43,20 @@ module.exports = {
43
43
44
44
constmessage=`No ESLint configration has been found.
45
45
46
-
${chalk.bgGreen.black('','FIX','')} Run command ${chalk.yellow('./node_modules/.bin/eslint --init')} or create manually a ${chalk.yellow('.eslintrc.js')} file at the root of your project.
46
+
${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.
47
47
48
-
If you prefer to create a ${chalk.yellow('.eslintrc.js')} file by yourself, here is an example to get you started!
49
-
50
-
Install ${chalk.yellow('babel-eslint')} to prevent potential parsing issues with your code: ${packageHelper.getInstallCommand([[{name: 'babel-eslint'}]])}
51
-
52
-
And then create the following file:
48
+
If you prefer to create a ${chalk.yellow('.eslintrc.js')} file by yourself, here is an example to get you started:
53
49
54
50
${chalk.yellow(`// .eslintrc.js
55
51
module.exports = {
56
52
parser: 'babel-eslint',
57
53
extends: ['eslint:recommended'],
58
54
}
59
-
`)}`;
55
+
`)}
56
+
57
+
Install ${chalk.yellow('babel-eslint')} to prevent potential parsing issues: ${packageHelper.getInstallCommand([[{name: 'babel-eslint'}]])}
0 commit comments