2017-08-11 17:49:06 +03:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"jest": true,
|
2019-01-30 14:52:10 +03:00
|
|
|
"jest/globals": true,
|
2017-08-11 17:49:06 +03:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"assert": true,
|
|
|
|
"sinon": true,
|
|
|
|
},
|
2021-11-03 15:22:06 +03:00
|
|
|
"plugins": ["jest"],
|
2017-08-11 17:49:06 +03:00
|
|
|
"rules": {
|
|
|
|
"import/no-extraneous-dependencies": ["error", {
|
|
|
|
// Allow dev-dependencies in this directory.
|
|
|
|
"devDependencies": true
|
|
|
|
}],
|
2021-01-12 11:59:18 +03:00
|
|
|
"jest/expect-expect": ["warn", {
|
2021-11-03 15:22:06 +03:00
|
|
|
// Register the custom matchers we use in this project.
|
|
|
|
"assertFunctionNames": [
|
|
|
|
"expect",
|
|
|
|
"sinon.assert.*",
|
|
|
|
"assertHasMatchingError",
|
|
|
|
"checkMinNodeVersion",
|
|
|
|
],
|
2021-01-12 11:59:18 +03:00
|
|
|
}],
|
2017-08-11 17:49:06 +03:00
|
|
|
},
|
|
|
|
}
|