Skip to content

Change Linting  #2867

@ResuBaka

Description

@ResuBaka

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

Metadata

Metadata

Assignees

Labels

1: EasyP4: Nice to havePriority mark - it's nice to haveS: Small effortSmall change to existing code, will take 1 or a couple of hoursgood first issueTasks that requires just basic understanding of Vue Storefrontvs-hackathonTasks for the Hackathon

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions