2019-02-10 15:26:50 +03:00
|
|
|
{
|
|
|
|
"extends": "airbnb-base",
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"browser": true,
|
|
|
|
"jest/globals": true
|
|
|
|
},
|
2021-03-15 20:39:52 +03:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2021
|
|
|
|
},
|
2019-02-10 15:26:50 +03:00
|
|
|
"globals": {
|
2019-06-07 21:09:48 +03:00
|
|
|
"io": true
|
2019-02-10 15:26:50 +03:00
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"import",
|
|
|
|
"jest"
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
2019-06-07 21:09:48 +03:00
|
|
|
"babel-module": {
|
|
|
|
"alias": {
|
|
|
|
"@@": ".",
|
|
|
|
"@": "./server/src"
|
|
|
|
}
|
|
|
|
}
|
2019-02-10 15:26:50 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-multi-assign": "off",
|
|
|
|
"no-trailing-spaces": "off",
|
|
|
|
"linebreak-style": "off",
|
|
|
|
"indent": "off",
|
|
|
|
"strict": "off",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-shadow": "off",
|
|
|
|
"import/no-extraneous-dependencies": "off",
|
|
|
|
"import/no-dynamic-require": "off",
|
2021-03-15 20:39:52 +03:00
|
|
|
"prefer-promise-reject-errors": ["off"],
|
|
|
|
"no-async-promise-executor": ["off"],
|
2019-02-10 15:26:50 +03:00
|
|
|
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
|
|
|
|
"space-before-function-paren": ["error", "always"],
|
|
|
|
"prefer-destructuring": ["error", { "array": true, "object": true }],
|
|
|
|
"comma-dangle": ["error", "never"],
|
|
|
|
"semi": ["error", "never"]
|
|
|
|
}
|
|
|
|
}
|