2016-08-20 01:15:37 +03:00
|
|
|
{
|
2017-05-16 00:32:26 +03:00
|
|
|
"extends": [
|
|
|
|
"plugin:promise/recommended",
|
|
|
|
],
|
2017-06-01 12:43:41 +03:00
|
|
|
"globals": {
|
|
|
|
"afterAll": true,
|
|
|
|
"beforeAll": true,
|
|
|
|
"expect": true,
|
|
|
|
"jest": true,
|
|
|
|
"sinon": true,
|
|
|
|
},
|
2017-05-16 00:32:26 +03:00
|
|
|
"plugins": [
|
|
|
|
"promise",
|
|
|
|
],
|
2016-08-20 01:15:37 +03:00
|
|
|
"rules": {
|
|
|
|
"import/no-extraneous-dependencies": ["error", {
|
|
|
|
// Allow dev-dependencies in this directory.
|
|
|
|
"devDependencies": true
|
|
|
|
}],
|
2017-05-16 00:32:26 +03:00
|
|
|
"promise/always-return": "off",
|
|
|
|
"promise/avoid-new": "off",
|
|
|
|
"promise/no-nesting": "off",
|
2016-08-20 01:15:37 +03:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"node": {
|
|
|
|
// This adds ./src and `cwd` for relative imports.
|
|
|
|
"moduleDirectory": ["node_modules", "src", ""]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|