Operating system
Windows 10
Node.js version
14.16.0
Shopify CLI version
2.7.2
Browsers
Chrome
Version
4 (Current)
Modifications
No response
Details
Problem:
It seems ESLint extension can not detect the .config/.eslintrc.js
ESLint error is not showing up in the VS Code with ESLint extension. But the yarn fix:js work just fine.
Steps:
- Clone &
yarn the project
- Create a component under
src/vue/components/render
- Use Ctrl+Shift+Uto open
OUTPUT in VS Code, select the ESLint output, and it said:
[Info - 10:38:15 AM] ESLint server is starting
[Info - 10:38:16 AM] ESLint server running in node v14.16.0
[Info - 10:38:16 AM] ESLint server is running.
[Info - 10:38:17 AM] ESLint library loaded from: D:\_shopify\concept-themes\Nov-14-theme\node_modules\eslint\lib\api.js
[Warn - 10:38:22 AM]
No ESLint configuration (e.g .eslintrc) found for file: d:\_shopify\concept-themes\Nov-14-theme\src\vue\components\render\mouse-target.vue
File will not be validated. Consider running 'eslint --init' in the workspace folder Nov-14-theme
Alternatively you can disable ESLint by executing the 'Disable ESLint' command.
Notice
Operating system
Windows 10
Node.js version
14.16.0
Shopify CLI version
2.7.2
Browsers
Chrome
Version
4 (Current)
Modifications
No response
Details
Problem:
It seems ESLint extension can not detect the
.config/.eslintrc.jsESLint error is not showing up in the VS Code with ESLint extension. But the
yarn fix:jswork just fine.Steps:
yarnthe projectsrc/vue/components/renderOUTPUTin VS Code, select the ESLint output, and it said:Notice