zyi8gg
Last Updated: April 01, 2019
·
5.325K
· fluxsauce

ESLint Configuration for Mocha and Chai

Nobody likes false positives! The following configuration works with ESLint 4 with Chai's BDD style should and expect interfaces.

module.exports = {
  "env": {
    "mocha": true
  },
  "rules": {
    "no-unused-vars": [
      "error",
      {
        "varsIgnorePattern": "should|expect"
      }
    ]
  }
}

6 Responses
Add your response

29438

mnmn

over 1 year ago ·
30709

good post.

7 months ago ·
30855

The SF guys there have been genuinely quite respectable to me but they sat through my trial and even though they could not say it I suppose they noticed the https://www.assignmentspot.co.uk/

7 months ago ·
31282

Can someone teach me the easiest logic.. Our professor of https://24hwritemyessays.com ask us to write a program

5 months ago ·
32294

Membership at the Roblox Builder Club gives you a daily reward from Robux and fewer restrictions than free membership.
https://rbxstats.com/

7 days ago ·