Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.
This repository was archived by the owner on May 2, 2022. It is now read-only.

node_modules added to eslintignore #201

@devinle

Description

@devinle

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

  1. Create a new theme scaffold
  2. Open 'includes/blocks/block-editor.js' and uncomment the line that imports example-block-1
  3. Run 'npm run start'
  4. Run 'npm run watch'
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions