app/api/utils/error_handling_middleware.js
Prefer named exports. Open
Open
export default (error, req, res, next) => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'node/no-restricted-import' was not found. Open
Open
import { handleError } from './handleError';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/