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

fix: debug the ESLint config file #409

Merged
merged 3 commits into from
Mar 12, 2024
Merged

Conversation

Anissa3005
Copy link
Contributor

@Anissa3005 Anissa3005 commented Mar 6, 2024

Resolves #403

🔧 What changed

Previously, the eslint config file was not applying any of the rules to our codebase. This resulted in wring linting and styling on our codebase.

  1. Rewrite the config file following the https://typescript-eslint.io/packages/typescript-eslint documentation (thanks to @theyokohamalife )

🧪 Testing instructions

To Do

It seems that at the moment the Vue Eslint is not yet supported for flat config files, vuejs/eslint-plugin-vue#1291, not sure if I can get it to work.

@Anissa3005 Anissa3005 self-assigned this Mar 6, 2024
Copy link

netlify bot commented Mar 6, 2024

Deploy Preview for findadoc ready!

Name Link
🔨 Latest commit ffc816a
🔍 Latest deploy log https://app.netlify.com/sites/findadoc/deploys/65efbb47839e4f00085e4641
😎 Deploy Preview https://deploy-preview-409--findadoc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Anissa3005 Anissa3005 added bug Something isn't working help wanted Extra attention is needed labels Mar 6, 2024

This comment was marked as resolved.

Copy link

socket-security bot commented Mar 7, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@theyokohamalife theyokohamalife force-pushed the anissa/debug-styling-rules branch 2 times, most recently from c3dafa7 to 0a8c193 Compare March 11, 2024 13:47
@NabbeunNabi
Copy link
Contributor

LGTM as a junior new on this codebase. Looks like you had your work cut out for you! 🙌

Anissa3005 and others added 3 commits March 12, 2024 10:25
@Anissa3005 Anissa3005 force-pushed the anissa/debug-styling-rules branch from 6959f2e to ffc816a Compare March 12, 2024 02:17
@Anissa3005 Anissa3005 marked this pull request as ready for review March 12, 2024 02:26
Copy link
Contributor

@theyokohamalife theyokohamalife left a comment

Choose a reason for hiding this comment

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

LGTM ✨

@theyokohamalife theyokohamalife merged commit 8f72d22 into main Mar 12, 2024
9 checks passed
@theyokohamalife theyokohamalife deleted the anissa/debug-styling-rules branch March 12, 2024 12:00
@theyokohamalife theyokohamalife changed the title Debug the ESLint config file fix: debug the ESLint config file Mar 12, 2024
Copy link
Contributor

@ermish ermish left a comment

Choose a reason for hiding this comment

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

@Anissa3005 @theyokohamalife I added some comments. We should make a new issue and fix some of these.

'.nuxt/*',
'coverage/*',
'cypress/videos/*',
'.yarn/*'
'.yarn/*',
'typedefs/gqlTypes.ts'
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't want this to be gitignored

Copy link
Contributor

Choose a reason for hiding this comment

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

we want to know when changes are made to the api and this is one of the easiest ways to see. It also makes the build faster when it already exists. (neglible though)

{
languageOptions: {
parser: vuePlugin.parser,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this just removed the whole linting for vue files. We'll likely need to readd this back in

ermish pushed a commit that referenced this pull request Mar 18, 2024
* fix: debug the ESLint config file

Previously, the eslint file is not applying the linting and styling rules to our code

* chore: format files with new linting rules

* fixup! chore: format files with new linting rules

---------

Co-authored-by: theyokohamalife <lts001@gmail.com>
ermish added a commit that referenced this pull request Mar 18, 2024
* changed from apolloclient to graphql-request

* updated queries with new fetch format

* fixup! changed from apolloclient to graphql-request

* cleaned up added semicolons

* docs: add NabbeunNabi as a contributor for code (#410)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* docs: add Anissa3005 as a contributor for code (#411)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* docs: add evan-desu as a contributor for code (#412)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* Debug the ESLint config file (#409)

* fix: debug the ESLint config file

Previously, the eslint file is not applying the linting and styling rules to our code

* chore: format files with new linting rules

* fixup! chore: format files with new linting rules

---------

Co-authored-by: theyokohamalife <lts001@gmail.com>

* chore(deps): update graphqlcodegenerator monorepo (#408)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add tests for localeStore (#401)

* test: add tests for localeStore

Previously, there were no tests present for the localeStore. In this commit I have created tests for localeStore

* fixup! test: add tests for localeStore

* feat: add photos, titles, and names on about us (#406)

This change adds the board members, developers and links to their
linkedIn profiles for the ones that are currently available. There are
tests for the additions as well.

Changed the styling for the map container and main app in order to not
have the footer cut through parts of the page.

* merge fixes. rebuilt yarn

* rebuilding yarn lock file

* merge fixes. linting errors

---------

Co-authored-by: Will Brammer <williamedwardbrammer@gmail.com>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Anissa Chadouli <anissa.chadouli@gmail.com>
Co-authored-by: theyokohamalife <lts001@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix styling rules
4 participants