Skip to content

refactor: code style optimizations #1314

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

Merged
merged 14 commits into from
May 17, 2021

Conversation

mfranzke
Copy link
Contributor

@mfranzke mfranzke commented Apr 14, 2021

Summary of changes:

Integrated several simple code optimizations, like:

  • chore(beautify): alphabetical dependency reordering
  • prettier fixes (via prettier CLI)
  • ESLint feedback (via ESLint CLI / --fix)

@mfranzke mfranzke marked this pull request as ready for review April 21, 2021 19:50
@mfranzke mfranzke requested a review from sghoweri as a code owner April 21, 2021 19:50
mfranzke added 5 commits May 12, 2021 10:32
@deprecated — use equal() instead.

'equals' is deprecated.ts(6385)
index.d.ts(53, 8): The declaration was marked as deprecated here.
'fs' is declared but its value is never read.ts(6133)
@mfranzke mfranzke changed the title refactor: code optimizations refactor: code style optimizations May 12, 2021
@JosefBredereck JosefBredereck merged commit a16f8f1 into pattern-lab:dev May 17, 2021
@mfranzke mfranzke deleted the refactor-code-optimizations branch May 17, 2021 17:55
antonia-rose pushed a commit to quelltexterin/nemo-uikit-workshop that referenced this pull request Apr 12, 2023
* chore(beautify): dependency reordering after npm i

* refactor: eslint feedback / prefer-const

'matches' is never reassigned. Use 'const' instead

* refactor: eslint feedback / prettier

* refactor: eslint feedback / no-shadow

'e' is already declared in the upper scope on line 202 column 24

* refactor: eslint feedback / no-shadow

'port' is already declared in the upper scope on line 28 column 9

* chore: typo

* test(eslint): error / Unexpected var, use let or const instead / no-var

* refactor: eslint feedback / prettier/prettier

* refactor(test): equals() is deprecated, replaced by equal()

@deprecated — use equal() instead.

'equals' is deprecated.ts(6385)
index.d.ts(53, 8): The declaration was marked as deprecated here.

* refactor: removed unused variables

'fs' is declared but its value is never read.ts(6133)

* refactor: eslint & prettier fixes

* refactor: code formatting via prettier

* Revert "refactor: removed unused variables"

This reverts commit fd3964c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants