PluralKit/.eslintcache
2020-12-09 09:32:20 +01:00

1 line
9.8 KiB
Plaintext

[{"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\index.js":"1","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\History.js":"2","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\App.js":"3","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Dash.js":"4","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Constants\\constants.js":"5","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Loading.js":"6","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Navigation.js":"7","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\System.js":"8","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Memberlist.js":"9","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\MemberCard.js":"10"},{"size":296,"mtime":1607424711608,"results":"11","hashOfConfig":"12"},{"size":87,"mtime":1607422561580,"results":"13","hashOfConfig":"12"},{"size":3416,"mtime":1607467147275,"results":"14","hashOfConfig":"12"},{"size":336,"mtime":1607466411435,"results":"15","hashOfConfig":"12"},{"size":73,"mtime":1607380663280,"results":"16","hashOfConfig":"12"},{"size":231,"mtime":1607464297342,"results":"17","hashOfConfig":"12"},{"size":671,"mtime":1607467074202,"results":"18","hashOfConfig":"12"},{"size":1694,"mtime":1607466250269,"results":"19","hashOfConfig":"12"},{"size":2160,"mtime":1607468731560,"results":"20","hashOfConfig":"12"},{"size":1894,"mtime":1607468928885,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},"1rd8s2n",{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"29","messages":"30","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"31","usedDeprecatedRules":"24"},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"38","usedDeprecatedRules":"24"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"41","usedDeprecatedRules":"24"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"46"},"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\index.js",[],["47","48"],"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\History.js",[],"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\App.js",[],"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Dash.js",["49"],"import React from 'react';\r\nimport * as BS from 'react-bootstrap'\r\n\r\nimport System from './System.js'\r\nimport Memberlist from './Memberlist.js'\r\n\r\nexport default function Dash(props) {\r\n\r\n return (<>\r\n <System user submit={props.submit} setSubmit={props.setSubmit}/>\r\n <Memberlist />\r\n </>\r\n );\r\n}","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Constants\\constants.js",[],"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Loading.js",[],"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Navigation.js",["50"],"import react from 'react';\r\nimport * as BS from 'react-bootstrap'\r\n\r\n\r\nexport default function Navigation(props) {\r\n\r\n function logOut() {\r\n localStorage.removeItem(\"token\");\r\n localStorage.removeItem(\"user\");\r\n props.setIsSubmit(false);\r\n }\r\n\r\n return (\r\n <BS.Navbar bg=\"light\" className=\"mb-3 \" expand=\"md\">\r\n <BS.Navbar.Brand>\r\n pk-web\r\n </BS.Navbar.Brand>\r\n <BS.Form inline>\r\n { localStorage.getItem('token') ? <BS.Button className=\"float-right mr-md-2\" variant=\"primary\" onClick={logOut}>Log Out</BS.Button> : \"\" }\r\n </BS.Form>\r\n </BS.Navbar>\r\n )\r\n}","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\System.js",["51"],"import React, { useState, useEffect } from 'react';\r\nimport * as BS from 'react-bootstrap'\r\n\r\nimport { FaAddressCard } from \"react-icons/fa\";\r\nimport defaultAvatar from '../default_discord_avatar.png'\r\n\r\nexport default function System(props) {\r\n\r\n const { toHTML } = require('discord-markdown');\r\n\r\n const [ desc, setDesc ] = useState(\"\");\r\n const user = JSON.parse(localStorage.getItem(\"user\"));\r\n\r\n useEffect(() => {\r\n if (user.description) {\r\n setDesc(toHTML(user.description));\r\n } else setDesc(\"(no description)\");\r\n}, [user.description]);\r\n\r\n return (\r\n <BS.Card className=\"mb-3 mt-3 w-100\" >\r\n <BS.Card.Header className=\"d-flex align-items-center justify-content-between\">\r\n <BS.Card.Title className=\"float-left\"><FaAddressCard className=\"mr-3\" /> {user.name}</BS.Card.Title> \r\n { user.avatar_url ? <BS.Image src={`${user.avatar_url}`} style={{width: 50, height: 50}} className=\"float-right\" roundedCircle /> : \r\n <BS.Image src={defaultAvatar} style={{width: 50, height: 50}} className=\"float-right\" roundedCircle />}\r\n </BS.Card.Header>\r\n <BS.Card.Body>\r\n <BS.Row>\r\n <BS.Col xs={12} md={4}><b>ID:</b> {user.id}</BS.Col>\r\n <BS.Col xs={12} md={4}><b>Tag:</b> {user.tag}</BS.Col>\r\n <BS.Col xs={12} md={4}><b>Timezone:</b> {user.tz}</BS.Col>\r\n </BS.Row>\r\n <br/>\r\n <p><b>Description:</b></p>\r\n <p dangerouslySetInnerHTML={{__html: desc}}></p>\r\n </BS.Card.Body>\r\n </BS.Card>\r\n )\r\n}\r\n\r\n \r\n\r\n ","C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\Memberlist.js",[],"C:\\Users\\Fleur\\Desktop\\website projects etc\\pk-web\\src\\Components\\MemberCard.js",["52"],"import React, { useEffect, useState } from 'react';\r\nimport * as BS from 'react-bootstrap'\r\n\r\nimport defaultAvatar from '../default_discord_avatar.png'\r\nimport { FaUser } from \"react-icons/fa\";\r\n\r\nexport default function MemberCard(props) {\r\n\r\n const { toHTML } = require('discord-markdown');\r\n\r\n const [ desc, setDesc ] = useState(\"\");\r\n const member = props.member;\r\n\r\n useEffect(() => {\r\n if (member.description) {\r\n setDesc(toHTML(member.description));\r\n } else setDesc(\"(no description)\");\r\n }, [member.description]);\r\n\r\n return (\r\n <> \r\n <BS.Accordion.Toggle className=\"d-flex align-items-center justify-content-between\" as={BS.Card.Header} eventKey={member.id}>\r\n <BS.Card.Title className=\"float-left\"><FaUser className=\"mr-4\" /> <b>{member.name}</b> ({member.id})</BS.Card.Title>\r\n { member.avatar_url ? <BS.Image src={`${member.avatar_url}`} style={{width: 50, height: 50}} className=\"float-right\" roundedCircle /> : \r\n <BS.Image src={defaultAvatar} style={{width: 50, height: 50}} className=\"float-right\" roundedCircle />}\r\n </BS.Accordion.Toggle>\r\n <BS.Accordion.Collapse eventKey={member.id}>\r\n <BS.Card.Body>\r\n <BS.Row>\r\n <BS.Col xs={12} md={3}><b>ID:</b> {member.id}</BS.Col>\r\n { member.display_name ? <BS.Col xs={12} md={3}><b>AKA: </b>{member.display_name}</BS.Col> : \"\" }\r\n { member.birthday ? <BS.Col xs={12} md={3}><b>Birthday:</b> {member.birthday}</BS.Col> : \"\" }\r\n { member.pronouns ? <BS.Col xs={12} md={3}><b>Pronouns:</b> {member.pronouns}</BS.Col> : \"\" }\r\n </BS.Row>\r\n <br/>\r\n <p><b>Description:</b></p>\r\n <p dangerouslySetInnerHTML={{__html: desc}}></p>\r\n </BS.Card.Body>\r\n </BS.Accordion.Collapse>\r\n </>\r\n )\r\n}\r\n",{"ruleId":"53","replacedBy":"54"},{"ruleId":"55","replacedBy":"56"},{"ruleId":"57","severity":1,"message":"58","line":2,"column":13,"nodeType":"59","messageId":"60","endLine":2,"endColumn":15},{"ruleId":"57","severity":1,"message":"61","line":1,"column":8,"nodeType":"59","messageId":"60","endLine":1,"endColumn":13},{"ruleId":"62","severity":1,"message":"63","line":18,"column":4,"nodeType":"64","endLine":18,"endColumn":22,"suggestions":"65"},{"ruleId":"62","severity":1,"message":"63","line":18,"column":8,"nodeType":"64","endLine":18,"endColumn":28,"suggestions":"66"},"no-native-reassign",["67"],"no-negated-in-lhs",["68"],"no-unused-vars","'BS' is defined but never used.","Identifier","unusedVar","'react' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'toHTML'. Either include it or remove the dependency array.","ArrayExpression",["69"],["70"],"no-global-assign","no-unsafe-negation",{"desc":"71","fix":"72"},{"desc":"73","fix":"74"},"Update the dependencies array to be: [toHTML, user.description]",{"range":"75","text":"76"},"Update the dependencies array to be: [member.description, toHTML]",{"range":"77","text":"78"},[550,568],"[toHTML, user.description]",[541,561],"[member.description, toHTML]"]