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
{{ message }}
This repository has been archived by the owner on May 2, 2022. It is now read-only.
Describe the bug
When running a watch, with a fresh theme scaffold, after updating the /includes/blocks/block-editor to import the example-block, the runtime will throw a slew of eslint errors.
Steps to Reproduce
Create a new theme scaffold
Open 'includes/blocks/block-editor.js' and uncomment the line that imports example-block-1
Run 'npm run start'
Run 'npm run watch'
Notice the eslint errors that are tracking to node_module directories
NOTE: I don't have any global configurations going on. So if there are any global settings on your machine, it might not produce this same result.
Expected behavior
node_modules should be ignored from our .eslintignore configuration so the errors are only focused within the theme
Environment information
Device: MacBook Pro
OS: MacOS 10.15.6
node: v15.0.1
npm: 7.0.3
php: PHP 7.3.11
The text was updated successfully, but these errors were encountered:
cc @joesnellpdx in case you're interested. As you were unable to recreate the issue, thought it would be good to lump you in here in case you make any discoveries. Thanks!
@nicholasio Any ideas here? I spun up the the theme and have no issues.
Does Devin need the 10up babel preset installed on his machine (I don't think so)? https://github.com/10up/babel-preset-default
Or... maybe I have node_modules set as a global ignore (in which case we should just add to the scaffold as a precaution)?
Describe the bug
When running a watch, with a fresh theme scaffold, after updating the /includes/blocks/block-editor to import the example-block, the runtime will throw a slew of eslint errors.
Steps to Reproduce
NOTE: I don't have any global configurations going on. So if there are any global settings on your machine, it might not produce this same result.
Expected behavior
node_modules should be ignored from our .eslintignore configuration so the errors are only focused within the theme
Environment information
The text was updated successfully, but these errors were encountered: