-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
1: EasyP4: Nice to havePriority mark - it's nice to havePriority mark - it's nice to haveS: Small effortSmall change to existing code, will take 1 or a couple of hoursSmall change to existing code, will take 1 or a couple of hoursgood first issueTasks that requires just basic understanding of Vue StorefrontTasks that requires just basic understanding of Vue Storefrontvs-hackathonTasks for the HackathonTasks for the Hackathon
Description
Linting for debugger statements.
Here we only check for debugger in the build process.
But we should move it to an early stage to catch it early.
So my thought would be to change the debugger rule to an warning while developing.
Which would be this
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
to that.
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 1
lukeromanowicz
Metadata
Metadata
Assignees
Labels
1: EasyP4: Nice to havePriority mark - it's nice to havePriority mark - it's nice to haveS: Small effortSmall change to existing code, will take 1 or a couple of hoursSmall change to existing code, will take 1 or a couple of hoursgood first issueTasks that requires just basic understanding of Vue StorefrontTasks that requires just basic understanding of Vue Storefrontvs-hackathonTasks for the HackathonTasks for the Hackathon