controllers/seller/createStore.js
Function createStore
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function createStore(req, res) {
const { businessName } = req.body;
const { sub: sellerId } = req.decodedToken;
try {
Parsing error: Invalid ecmaVersion. Open
Open
const Store = require('../../models/store');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/