zyi8gg
Last Updated: May 24, 2019
·
6.297K
· 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"
      }
    ]
  }
}

8 Responses
Add your response

29438

mnmn

over 1 year ago ·
30709

good post.

10 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/

10 months ago ·
31282

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

8 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/

4 months ago ·
33100

the amazing code I love java coding https://www.swiftrentalcar.com/

about 2 months ago ·
33109
about 2 months ago ·