Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eslint trying to look at node_modules/ #275

Merged

Commits on Jun 27, 2023

  1. Fix eslint trying to look at node_modules/

    Previously:
    
    ```sh
    $ npm run lint
    
    > [email protected] lint
    > eslint **/*.js
    
    Oops! Something went wrong! :(
    
    ESLint: 8.37.0
    
    You are linting "node_modules/ipaddr.js", but all of the files matching the glob pattern "node_modules/ipaddr.js" are ignored.
    
    If you don't want to lint these files, remove the pattern "node_modules/ipaddr.js" from the list of arguments passed to ESLint.
    
    If you do want to lint these files, try the following solutions:
    
    * Check your .eslintignore file, or the eslintIgnore property in package.json, to ensure that the files are not configured to be ignored.
    * Explicitly list the files from this glob that you'd like to lint on the command-line, rather than providing a glob as an argument.
    ```
    MadLittleMods committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    32d09a7 View commit details
    Browse the repository at this point in the history