2017-07-13 16:28:45 -05:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"mocha": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
2018-01-15 17:03:43 -05:00
|
|
|
"globals": {
|
|
|
|
"jsdom": true
|
|
|
|
},
|
2017-07-13 16:28:45 -05:00
|
|
|
"rules": {
|
|
|
|
"valid-jsdoc": 0,
|
|
|
|
"no-redeclare": 1,
|
2018-12-03 01:18:45 -05:00
|
|
|
"jest/consistent-test-it": ["error", {"fn": "test"}],
|
|
|
|
"jest/no-jasmine-globals": 2,
|
|
|
|
"jest/expect-expect": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"assertFunctionNames": ["expect"]
|
|
|
|
}
|
|
|
|
],
|
2017-07-13 16:28:45 -05:00
|
|
|
"no-console": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"allow": [
|
2017-10-22 05:28:38 -05:00
|
|
|
"log",
|
|
|
|
"error"
|
2017-07-13 16:28:45 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-useless-escape": 0
|
|
|
|
}
|
|
|
|
}
|