Skip to content

Commit

Permalink
archetype-react-app-dev: [patch] add config for mocha tests with es6 (#…
Browse files Browse the repository at this point in the history
…373)

archetype-react-app-dev: [patch] [chore] add config for mocha tests with es6
  • Loading branch information
jchip authored Jun 14, 2017
2 parents b9cea32 + 5b55a8d commit 87a6fb3
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
extends:
- "walmart/configurations/es6-node"
globals:
expect: false
sandbox: false
# this will by removed by
# https://gecgithub01.walmart.com/electrode/electrode-archetype-react-component/issues/10
sinon: false
env:
mocha: true
rules:
"no-unused-expressions": "off" # for `chai.expect`
"max-len": ["error", 10, 2, {ignorePattern: "^\\s*(?:it|describe)\\(.*"}]
"max-statements": "off"
"max-nested-callbacks": "off"

0 comments on commit 87a6fb3

Please sign in to comment.