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

ESLint: enable no var requires rule #992

Merged
merged 20 commits into from
Sep 8, 2020
Merged

Conversation

NearW
Copy link
Contributor

@NearW NearW commented Jun 14, 2020

Enable no var requires rule

Description

  • Updated all uses of require to an import statement
  • Added file clone.ts and added a wrapper function to clone, since it would require a double method call every time we use it. This should be reverted once rfdc releases a new version.

@NearW NearW added the tech For technical stories without user impact (=refactoring stories). label Jun 14, 2020
@NearW NearW changed the title ESLint: enable no var requires rule WIP: ESLint: enable no var requires rule Jun 26, 2020
@NearW NearW mentioned this pull request Jul 13, 2020
11 tasks
@NearW NearW marked this pull request as draft July 28, 2020 00:35
@NearW NearW changed the base branch from master to main August 3, 2020 08:27
@NearW NearW mentioned this pull request Aug 13, 2020
12 tasks
…le-no-var-requires-rule

# Conflicts:
#	visualization/app/codeCharta/codeCharta.component.spec.ts
#	visualization/app/codeCharta/codeCharta.component.ts
#	visualization/app/codeCharta/e2e/logo.e2e.ts
#	visualization/app/codeCharta/e2e/url.e2e.ts
#	visualization/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControlsService.ts
#	visualization/app/codeCharta/ui/fileChooser/fileChooser.component.ts
#	visualization/app/codeCharta/util/deltaGenerator.ts
#	visualization/app/codeCharta/util/fileValidator.spec.ts
#	visualization/app/codeCharta/util/fileValidator.ts
#	visualization/app/codeCharta/util/reduxHelper.ts
#	visualization/app/codeCharta/util/scenarioHelper.spec.ts
#	visualization/app/codeCharta/util/scenarioHelper.ts
#	visualization/app/puppeteer.helper.ts
Copy link
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

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

Mainly LGTM

@NearW NearW marked this pull request as ready for review August 13, 2020 17:19
@NearW NearW changed the title WIP: ESLint: enable no var requires rule ESLint: enable no var requires rule Aug 13, 2020
@NearW NearW marked this pull request as draft September 8, 2020 15:13
@NearW NearW marked this pull request as ready for review September 8, 2020 16:11
@NearW NearW merged commit d9531d4 into main Sep 8, 2020
@NearW NearW deleted the tech/878/enable-no-var-requires-rule branch September 8, 2020 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech For technical stories without user impact (=refactoring stories).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants