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