Midwest Dev Chat

MidwestDevChat.com

  • The newest 15 messages in the super-cool #emacs channel.

  • 04/12 13:00:49 Eloise: I had a bit of an interesting time getting `flycheck` to work on this project:
      .eslintrc.js
      README.md
      app
        node_modules // created by us, not to be ignored by eslint
          routes
            game.js
            user.js
          controllers
            game.js
            user.js
      index.js
      package.json
      package-lock.json
      node_modules // created by `npm install`; to be ignored by eslint
  • 04/12 13:03:51 Eloise: if you run `eslint` from `fanx-api`, everything works great. However, `flycheck` was running `eslint` from `fanx-api/app`, which caused everything under `fanx-api/app/node_modules` to be ignored. I first tried putting an `.eslintignore` containing `!app/node_modules/*` in `fanx-api`. `flycheck` still wasn't able to find it, even though it picks up that `.eslintrc.js`. The solution was to create `app/.eslintignore` with `!node_modules/*` parrot
  • *Usernames have been changed to protect the innocent.
We're currently 1048 members strong. Join us!
Request Invite

Check out all the cool channels!

Join the conversation!