Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Fixes eslintrc warning for no-nested-ternary #683

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

adityathakurxd
Copy link
Contributor

Noticed, if you create a new repository using the template, it throws an error when trying to deploy to Vercel.

Screenshot 2023-10-24 at 11 17 08 AM

It can be locally reproduced by running the command - yarn run build

Screenshot 2023-10-24 at 11 19 54 AM
ERROR in [eslint] .eslintrc:
        Configuration for rule "no-nested-ternary" is invalid:
        Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"warning"').

Have created a fix for the same as suggested in the message.

@vercel
Copy link

vercel bot commented Oct 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
100ms-web-v2 ✅ Ready (Inspect) Visit Preview Oct 24, 2023 6:15am

@raviteja83 raviteja83 merged commit 9f97658 into main Oct 25, 2023
3 checks passed
@raviteja83 raviteja83 deleted the eslintrc-warning branch October 25, 2023 05:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants