-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintcache
1 lines (1 loc) · 9.85 KB
/
.eslintcache
1
[{"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Success.jsx":"1","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\GroupList.jsx":"2","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\App.jsx":"3","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Check.jsx":"4","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Canceled.jsx":"5","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\index.js":"6","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Payment.jsx":"7"},{"size":499,"mtime":1608215509543,"results":"8","hashOfConfig":"9"},{"size":3926,"mtime":1608219402168,"results":"10","hashOfConfig":"9"},{"size":1614,"mtime":1608128631253,"results":"11","hashOfConfig":"9"},{"size":296,"mtime":1608128631263,"results":"12","hashOfConfig":"9"},{"size":489,"mtime":1608215509105,"results":"13","hashOfConfig":"9"},{"size":650,"mtime":1608214441994,"results":"14","hashOfConfig":"9"},{"size":3292,"mtime":1608219402191,"results":"15","hashOfConfig":"9"},{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"18"},"nbz6z2",{"filePath":"19","messages":"20","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"21","usedDeprecatedRules":"18"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"31","messages":"32","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Success.jsx",[],["33","34"],"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\GroupList.jsx",["35","36","37","38","39","40","41"],"import React from \"react\";\r\nimport CheckIcon from \"@material-ui/icons/Check\";\r\nimport ToggleButton from \"@material-ui/lab/ToggleButton\";\r\nimport \"../styles/GroupList.css\";\r\n\r\n////////// S add start //////////\r\nimport { Typography, makeStyles, Box, Paper, createMuiTheme } from '@material-ui/core';\r\nimport { useTheme } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport Avatar from '@material-ui/core/Avatar';\r\nimport Button from '@material-ui/core/Button';\r\n\r\nconst theme = createMuiTheme({\r\n palette: {\r\n primary: {\r\n main: '#F1F0F2',\r\n light: '#F2B705',\r\n dark: '#F20530',\r\n },\r\n secondary: {\r\n light: '#F23D6D',\r\n main: '#F20530',\r\n // dark: will be calculated from palette.secondary.main,\r\n contrastText: '#ffcc00',\r\n },\r\n },\r\n typography: {\r\n fontFamily: [\r\n '-apple-system',\r\n 'BlinkMacSystemFont',\r\n '\"Segoe UI\"',\r\n 'Roboto',\r\n '\"Helvetica Neue\"',\r\n 'Arial',\r\n 'sans-serif',\r\n '\"Apple Color Emoji\"',\r\n '\"Segoe UI Emoji\"',\r\n '\"Segoe UI Symbol\"',\r\n ].join(','),\r\n },\r\n });\r\n\r\n const useStyles = makeStyles((theme) => ({\r\n root: {\r\n flexGrow: 1,\r\n },\r\n paper: {\r\n padding: theme.spacing(5),\r\n margin: 'auto',\r\n maxWidth: 200,\r\n },\r\n paper: {\r\n padding: theme.spacing(2),\r\n marginLeft: 'auto',\r\n marginRight: 'auto',\r\n marginBottom: '2px',\r\n maxWidth: 200,\r\n },\r\n }));\r\n \r\n ////////// S add end //////////\r\n\r\n\r\n const element = React.createElement(\r\n 'h1',\r\n {className: 'greeting'},\r\n 'Hello React.'\r\n );\r\n const avatarImg = [\r\n \"/static/images/avatar/eliot.png\",\r\n \"/static/images/avatar/naoto.png\",\r\n \"/static/images/avatar/misho.png\",\r\n \"/static/images/avatar/sayaka.png\",\r\n \"/static/images/avatar/kaisei.png\"\r\n ];\r\n\r\n\r\n\r\nexport default function GroupList(props) {\r\n const classes = useStyles();\r\n // console.log(props.list);\r\n // const [ selected, setSelected ] = useState(false);\r\n return (\r\n <div className=\"setting\">\r\n <a href=\"/\"><img src=\"/static/images/warican_flower.png\" alt=\"warican-flowerer\" className=\"logo\"/></a>\r\n <div>一緒に行くメンバーを選んでね</div>\r\n <div className={classes.paper}>\r\n {props.list.map((friend,i) => (\r\n <Paper className={classes.paper} key={i}>\r\n <Grid container spacing={2}>\r\n <Grid item>\r\n <Avatar alt={friend.user_name} src={avatarImg[i]} /> \r\n </Grid>\r\n <Grid item xs>\r\n <Typography gutterBottom variant=\"subtitle1\">\r\n {friend.user_name}\r\n </Typography>\r\n </Grid>\r\n <Grid>\r\n <Checkbox\r\n color=\"secondary\"\r\n selected={friend.selected}\r\n onChange={()=>{\r\n console.log(friend.selected, i);\r\n let newList = props.list;\r\n newList[i].selected=!props.list[i].selected;\r\n props.setList(newList);\r\n props.setMember(props.list.filter(friend => friend.selected===true).length)\r\n }}\r\n inputProps={{ 'aria-label': 'secondary checkbox' }}\r\n />\r\n </Grid>\r\n </Grid>\r\n </Paper>))}\r\n </div>\r\n\r\n {/* <div>{`Number of members is ${props.member}`}</div> */}\r\n <Button\r\n variant=\"contained\"\r\n size=\"large\"\r\n color=\"secondary\"\r\n disabled={props.member === 0} \r\n onClick={()=>{\r\n props.setView(\"Payment\");\r\n }}\r\n >\r\n confirm\r\n </Button>\r\n {/* <Button type=\"button\" \r\n className=\"confirm\" \r\n disabled={props.member === 0} \r\n onClick={()=>{\r\n props.setView(\"Payment\");\r\n }}>confirm</Button> */}\r\n </div>\r\n );\r\n}\r\n","C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\App.jsx",[],["42","43"],"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Check.jsx",[],"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Canceled.jsx",[],"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\index.js",[],"C:\\Users\\user.SOPHIA_DOMAIN\\Code Chrysalis BootCamp\\Stripe_API_Project\\warican\\src\\components\\Payment.jsx",["44","45","46","47","48","49","50","51"],{"ruleId":"52","replacedBy":"53"},{"ruleId":"54","replacedBy":"55"},{"ruleId":"56","severity":1,"message":"57","line":2,"column":8,"nodeType":"58","messageId":"59","endLine":2,"endColumn":17},{"ruleId":"56","severity":1,"message":"60","line":3,"column":8,"nodeType":"58","messageId":"59","endLine":3,"endColumn":20},{"ruleId":"56","severity":1,"message":"61","line":7,"column":34,"nodeType":"58","messageId":"59","endLine":7,"endColumn":37},{"ruleId":"56","severity":1,"message":"62","line":8,"column":10,"nodeType":"58","messageId":"59","endLine":8,"endColumn":18},{"ruleId":"56","severity":1,"message":"63","line":14,"column":7,"nodeType":"58","messageId":"59","endLine":14,"endColumn":12},{"ruleId":"64","severity":1,"message":"65","line":53,"column":5,"nodeType":"66","messageId":"67","endLine":53,"endColumn":10},{"ruleId":"56","severity":1,"message":"68","line":65,"column":9,"nodeType":"58","messageId":"59","endLine":65,"endColumn":16},{"ruleId":"52","replacedBy":"69"},{"ruleId":"54","replacedBy":"70"},{"ruleId":"56","severity":1,"message":"71","line":4,"column":10,"nodeType":"58","messageId":"59","endLine":4,"endColumn":20},{"ruleId":"56","severity":1,"message":"61","line":4,"column":34,"nodeType":"58","messageId":"59","endLine":4,"endColumn":37},{"ruleId":"56","severity":1,"message":"72","line":4,"column":39,"nodeType":"58","messageId":"59","endLine":4,"endColumn":44},{"ruleId":"56","severity":1,"message":"73","line":4,"column":46,"nodeType":"58","messageId":"59","endLine":4,"endColumn":60},{"ruleId":"56","severity":1,"message":"62","line":5,"column":10,"nodeType":"58","messageId":"59","endLine":5,"endColumn":18},{"ruleId":"56","severity":1,"message":"74","line":6,"column":8,"nodeType":"58","messageId":"59","endLine":6,"endColumn":12},{"ruleId":"56","severity":1,"message":"75","line":7,"column":8,"nodeType":"58","messageId":"59","endLine":7,"endColumn":16},{"ruleId":"56","severity":1,"message":"76","line":8,"column":8,"nodeType":"58","messageId":"59","endLine":8,"endColumn":14},"no-native-reassign",["77"],"no-negated-in-lhs",["78"],"no-unused-vars","'CheckIcon' is defined but never used.","Identifier","unusedVar","'ToggleButton' is defined but never used.","'Box' is defined but never used.","'useTheme' is defined but never used.","'theme' is assigned a value but never used.","no-dupe-keys","Duplicate key 'paper'.","ObjectExpression","unexpected","'element' is assigned a value but never used.",["77"],["78"],"'Typography' is defined but never used.","'Paper' is defined but never used.","'createMuiTheme' is defined but never used.","'Grid' is defined but never used.","'Checkbox' is defined but never used.","'Avatar' is defined but never used.","no-global-assign","no-unsafe-negation"]