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

Build fails on master (eslint func-names) #815

Closed
dsyer opened this issue Feb 22, 2023 · 1 comment
Closed

Build fails on master (eslint func-names) #815

dsyer opened this issue Feb 22, 2023 · 1 comment

Comments

@dsyer
Copy link

dsyer commented Feb 22, 2023

$ npm run test

> mustache@4.2.0 test
> npm run test-lint && npm run test-unit


> mustache@4.2.0 test-lint
> eslint mustache.js bin/mustache test/*.js test/**/*.js


/workspaces/mustache.js/mustache.js
  1:2   error  Unexpected unnamed function  func-names
  5:10  error  Unexpected unnamed function  func-names

You can fix it by adding /* eslint-disable func-names */ to the top of mustache.js (copied from partial-test.js).

@dsyer
Copy link
Author

dsyer commented Feb 22, 2023

Seems like this went away when I followed the steps in the README. Did I fix it inadvertently? Maybe I hadn't installed the prerequisites?

@dsyer dsyer closed this as completed Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant