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

Merge to production - 17 Jun 2021 #205

Merged
merged 22 commits into from
Jun 17, 2021
Merged

Merge to production - 17 Jun 2021 #205

merged 22 commits into from
Jun 17, 2021

Conversation

prestonlimlianjie
Copy link
Contributor

No description provided.

dependabot bot and others added 22 commits June 7, 2021 02:21
* feat: install prettier

* feat: update prettier options

* feat: install eslint

* feat: setup eslint configurations, use airbnb-base as a default

* feat: add eslint ignore file

* feat: add integration for prettier with eslint

* feat: add linting, formatting, and checking scripts to package.json

* fix: add Prettier as a plugin for eslint

* feat: install eslint-plugin-prettier

* chore: reformat eslint config

* chore: update prettierIgnore

* chore: install eslint import sorting plugin

Co-authored-by: jiehao <jiehao@open.gov.sg>
* Lint: misc files

* Fix: remove unused file

* Fix: update prettierignore to ignore package-lock
* style: install module aliases, setup aliases

This commit installs the module-alias package, and establishes
aliases for top-level directories

* style: replace requires with aliases

* style: require module-alias as app root

* chore: install eslint import resolver alias plugin

* style: define import order in eslint config

* style: automated fix for import order

* style: manual fixes to import order
This commit replaces the `plugin:prettier-recommended` with the
original `prettier` plugin. This is because our config does not
work with `plugin:prettier-recommended`.

The desired behavior when we run `npx eslint --fix .` is that all
linting bugs are fixed, but formatting issues are ignored. However,
we discovered that when we ran `npx eslint --fix .` with the
`prettier-recommended` plugin, formatting issues were beign corrected
as well. This is easily fixed by using the `prettier` plugin instead.
This commit adds path aliases to the jsconfig.json so that VS
Code can understand our aliases and help us to autocomplete them.
fix: address bug in directory route
* fix: rename third_nav_title when renaming collection

* fix: deslugify third_nav_title name
Copy link
Contributor

@kwajiehao kwajiehao left a comment

Choose a reason for hiding this comment

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

lgtm

@prestonlimlianjie prestonlimlianjie merged commit 303c5aa into master Jun 17, 2021
harishv7 pushed a commit that referenced this pull request Feb 17, 2023
Merge to production - 17 Jun 2021
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.

5 participants