Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable linting on regex #50

Merged
merged 2 commits into from
Jul 19, 2019
Merged

Disable linting on regex #50

merged 2 commits into from
Jul 19, 2019

Conversation

davegonzalez
Copy link
Contributor

Description of Change

This regex fails our lint process; modifying the regex based on the lint rule doesn't keep existing behavior so we should disable it for this line.

Related Issue

Motivation and Context

Checklist

  • Ran npm run lint and updated code style accordingly
  • npm run test passes
  • PR has a description and all contributors/stakeholder are noted/cc'ed
  • tests are updated and/or added to cover new code
  • relevant documentation is changed and/or added

Copy link
Member

@isaacwhite isaacwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @davegonzalez! Could we update the eslint disable comment to just affect the specific rule, no-useless-escape? Otherwise this seems great.

@davegonzalez
Copy link
Contributor Author

@isaacwhite good call! 👍🏼

Copy link
Member

@isaacwhite isaacwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thanks, @davegonzalez!

@isaacwhite isaacwhite merged commit 5f5dd86 into master Jul 19, 2019
@isaacwhite isaacwhite deleted the disable-regex-lint branch July 19, 2019 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants