-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintcache
More file actions
1 lines (1 loc) · 7.92 KB
/
.eslintcache
File metadata and controls
1 lines (1 loc) · 7.92 KB
1
[{"/home/klair/Documents/React js/demowork/src/index.js":"1","/home/klair/Documents/React js/demowork/src/App.js":"2","/home/klair/Documents/React js/demowork/src/reportWebVitals.js":"3","/home/klair/Documents/React js/demowork/src/Components/DataTable.jsx":"4","/home/klair/Documents/React js/demowork/src/Components/DisplayContent.jsx":"5","/home/klair/Documents/React js/demowork/src/Components/Navbar.jsx":"6","/home/klair/Documents/React js/demowork/src/Components/Popup.jsx":"7","/home/klair/Documents/React js/demowork/src/Components/InputForm.jsx":"8","/home/klair/Documents/React js/demowork/src/Components/Inputs/Radio.jsx":"9","/home/klair/Documents/React js/demowork/src/Components/Inputs/InputField.jsx":"10","/home/klair/Documents/React js/demowork/src/Components/QuestionData.jsx":"11"},{"size":461,"mtime":1611860400422,"results":"12","hashOfConfig":"13"},{"size":627,"mtime":1612010628409,"results":"14","hashOfConfig":"13"},{"size":362,"mtime":1611824358850,"results":"15","hashOfConfig":"13"},{"size":4021,"mtime":1612010643900,"results":"16","hashOfConfig":"13"},{"size":956,"mtime":1611861888569,"results":"17","hashOfConfig":"13"},{"size":382,"mtime":1611856222750,"results":"18","hashOfConfig":"13"},{"size":700,"mtime":1612008566144,"results":"19","hashOfConfig":"13"},{"size":5630,"mtime":1612008553705,"results":"20","hashOfConfig":"13"},{"size":668,"mtime":1611864822033,"results":"21","hashOfConfig":"13"},{"size":421,"mtime":1611865070427,"results":"22","hashOfConfig":"13"},{"size":904,"mtime":1612010760180,"results":"23","hashOfConfig":"13"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},"q3tcho",{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"33","messages":"34","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"35","usedDeprecatedRules":"26"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"40","messages":"41","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"46","usedDeprecatedRules":"26"},{"filePath":"47","messages":"48","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/klair/Documents/React js/demowork/src/index.js",[],["49","50"],"/home/klair/Documents/React js/demowork/src/App.js",[],"/home/klair/Documents/React js/demowork/src/reportWebVitals.js",[],"/home/klair/Documents/React js/demowork/src/Components/DataTable.jsx",["51","52"],"/home/klair/Documents/React js/demowork/src/Components/DisplayContent.jsx",["53"],"import { Button, Grid,makeStyles } from '@material-ui/core';\nimport React, { useState } from 'react';\nimport DataTable from './DataTable';\nimport PopUp from './Popup';\n\n\n\nconst DisplayContent = () => {\n let [openPopuUp,setOpenPopUp]=useState(false);\n const handlePopUp = () =>{\n setOpenPopUp(true)\n }\n return ( \n <Grid container direction=\"column\">\n <Grid item xs={12} style={{margin:'20px auto'}}>\n <Button style={{backgroundColor:'#333' , color:'white',padding:'10px'}}\n \n onClick={handlePopUp}\n \n >ADD Question</Button>\n </Grid>\n <Grid item container style={{marginTop:'20px'}}>\n <Grid item xs={false} sm={1} md={2} />\n <Grid item xs={12} sm={10} md={8} >\n <DataTable />\n\n </Grid>\n <Grid item xs={false} sm={1} md={2}/>\n </Grid>\n <PopUp openPopUp={openPopuUp} setOpenPopUp={setOpenPopUp}/>\n </Grid>\n );\n}\n \nexport default DisplayContent;","/home/klair/Documents/React js/demowork/src/Components/Navbar.jsx",[],"/home/klair/Documents/React js/demowork/src/Components/Popup.jsx",["54"],"/home/klair/Documents/React js/demowork/src/Components/InputForm.jsx",["55","56","57"],"/home/klair/Documents/React js/demowork/src/Components/Inputs/Radio.jsx",[],"/home/klair/Documents/React js/demowork/src/Components/Inputs/InputField.jsx",["58"],"import { FormControl, FormLabel, TextField } from '@material-ui/core';\nimport React from 'react';\n\nconst InputField = ({name,value,label,onChange,type}) => {\n return ( \n <FormControl>\n \n <TextField label={label} type={type} variant=\"outlined\" size=\"small\" style={{width:'400px'}} value={value} onChange={onChange} name={name}/>\n </FormControl>\n );\n}\n \nexport default InputField;","/home/klair/Documents/React js/demowork/src/Components/QuestionData.jsx",["59","60"],{"ruleId":"61","replacedBy":"62"},{"ruleId":"63","replacedBy":"64"},{"ruleId":"65","severity":1,"message":"66","line":8,"column":17,"nodeType":"67","messageId":"68","endLine":8,"endColumn":26},{"ruleId":"69","severity":1,"message":"70","line":28,"column":4,"nodeType":"71","endLine":28,"endColumn":6,"suggestions":"72"},{"ruleId":"65","severity":1,"message":"73","line":1,"column":23,"nodeType":"67","messageId":"68","endLine":1,"endColumn":33},{"ruleId":"65","severity":1,"message":"74","line":1,"column":68,"nodeType":"67","messageId":"68","endLine":1,"endColumn":78},{"ruleId":"65","severity":1,"message":"75","line":1,"column":31,"nodeType":"67","messageId":"68","endLine":1,"endColumn":40},{"ruleId":"65","severity":1,"message":"76","line":5,"column":8,"nodeType":"67","messageId":"68","endLine":5,"endColumn":14},{"ruleId":"77","severity":1,"message":"78","line":64,"column":40,"nodeType":"79","messageId":"80","endLine":64,"endColumn":42},{"ruleId":"65","severity":1,"message":"81","line":1,"column":23,"nodeType":"67","messageId":"68","endLine":1,"endColumn":32},{"ruleId":"69","severity":1,"message":"82","line":10,"column":15,"nodeType":"83","endLine":22,"endColumn":6},{"ruleId":"69","severity":1,"message":"84","line":22,"column":7,"nodeType":"71","endLine":22,"endColumn":9,"suggestions":"85"},"no-native-reassign",["86"],"no-negated-in-lhs",["87"],"no-unused-vars","'useParams' is defined but never used.","Identifier","unusedVar","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'fetchingData'. Either include it or remove the dependency array.","ArrayExpression",["88"],"'makeStyles' is defined but never used.","'Typography' is defined but never used.","'TextField' is defined but never used.","'formik' is defined but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","'FormLabel' is defined but never used.","Effect callbacks are synchronous to prevent race conditions. Put the async function inside:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching","ArrowFunctionExpression","React Hook useEffect has missing dependencies: 'api', 'id', and 'ques'. Either include them or remove the dependency array.",["89"],"no-global-assign","no-unsafe-negation",{"desc":"90","fix":"91"},{"desc":"92","fix":"93"},"Update the dependencies array to be: [fetchingData]",{"range":"94","text":"95"},"Update the dependencies array to be: [api, id, ques]",{"range":"96","text":"97"},[961,963],"[fetchingData]",[636,638],"[api, id, ques]"]