Comments (17)
@viditagrawal56 Those are required to notify users for misconfigurations. You can set no-console
to off
in eslint config.
from react-quiz-component.
you may disable this lint at this moment. I'll pick it up later on.
from react-quiz-component.
please disable it. We already have dompurify.sanitize
in rawMarkup
so it's fine.
dangerouslySetInnerHTML={rawMarkup(...)}
from react-quiz-component.
Assign this issue to me. I can do it
from react-quiz-component.
@vidhuUC assigned.
from react-quiz-component.
@vidhuUC any updates?
from react-quiz-component.
Hey @wingkwong as the assignee has not responded can you assign me this issue I would love to work on it!
from react-quiz-component.
@viditagrawal56 assigned.
from react-quiz-component.
hey @wingkwong The lint gives warning to remove the console.error lines. Should I just directly remove them or are they useful?
from react-quiz-component.
Hey @wingkwong the lint is giving an error that the line extends the length limit of 120. The line that exceeds this limit is an answer to a question so I cant remove anything from the line to make it fit the limit of 120. So should I just increase the limit?
If yes, then what should the new limit be?
from react-quiz-component.
Hey @wingkwong the dangerouslySetInnerHTML property is setting off a warning, to fix it I think it will require DOMPurify to be imported to sanitizes the HTML before using the dangerouslySetInnerHTML.
This will require the dompurify to be installed.
So should I install dompurify or just disable the specific lint?
from react-quiz-component.
@wingkwong the use of confirm in the code gives the no-restricted-globals lint error. Should I create a separate confirmation modal or just disable the lint?
I'll Just list all the lint errors that are yet to fix and you can just tell me which ones to disable and for which error should I fix the actual code so that we both don't waste our time asking again and again 😅:-
- no-restricted-globals
- no-shadow
- no-shadow
- react/no-array-index-key
- no-restricted-syntax (iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations)
I don't understand the 5th one can you please help me 🙏
from react-quiz-component.
@viditagrawal56 disable first. I'll take a look later. please note down all the errors / warnings for those you've disabled. Thanks.
from react-quiz-component.
@viditagrawal56 leave 5th one to me.
from react-quiz-component.
@wingkwong Sorry for not understanding, you mean disable the first lint error right?
Or do you mean I should just disable all the lint errors except the fifth one and make a note of all the disabled errors?
from react-quiz-component.
@viditagrawal56 yes disable only the fist one. for no-shadow and react/no-array-index-key, they can be fixed. If you have discord, free feel to ping me here for live discussion if necessary.
from react-quiz-component.
@wingkwong ok thanks!
from react-quiz-component.
Related Issues (20)
- Explanation to each question is not provided and one question is just lorem HOT 3
- You cannot see the marks scored for each individual question at the end. HOT 11
- Quiz can be center instead of top-right and not mobile responsive HOT 5
- Title: Enhancement Request: Show Quiz Progress During Quiz in React-Quiz Library HOT 7
- Title: Enhancement Request: Add Multilingual Quiz Support using 'react-intl' in React-Quiz Library HOT 1
- favicon is missing
- test suite HOT 2
- improve the filter design HOT 4
- Update lorem ipsum question HOT 6
- Support for ECMAScript Modules HOT 4
- start quiz in a new window HOT 2
- disabledAll should be dynamic
- Error in import while using Reac/Remix app with TS
- Timer feature is not working properly HOT 2
- Next Button onClick handler
- Need to add audio clips (mp3) as question
- Override all UI components
- No presence of start page HOT 3
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-quiz-component.