@supersourcing/response-handler
Version:
To handle api's response status & errors
34 lines (33 loc) • 934 B
JSON
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"jest/globals": true
},
"extends": ["prettier", "airbnb-base"],
"plugins": ["prettier"],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"indent": ["error", 4],
"linebreak-style": 0,
"no-underscore-dangle": 0,
"no-await-in-loop": 0,
"no-restricted-syntax": 0,
"no-console": "warn",
"no-return-await": 0,
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"arrow-body-style": ["error", "as-needed"],
"no-else-return": "off",
"prefer-regex-literals": "warn",
"max-len": ["warn", 300],
"func-names": "off",
"no-trailing-spaces": "off",
"class-methods-use-this": "off",
"eslint-disable-next-line": "off"
}
}