-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintcache
1 lines (1 loc) · 15 KB
/
.eslintcache
1
[{"C:\\Users\\KINGSLEY UBAH\\Node\\harperdb-movie-generator\\src\\index.js":"1","C:\\Users\\KINGSLEY UBAH\\Node\\harperdb-movie-generator\\src\\App.js":"2","C:\\Users\\KINGSLEY UBAH\\Node\\harperdb-movie-generator\\src\\components\\Movie.js":"3","C:\\Users\\KINGSLEY UBAH\\desktop\\hacker\\src\\index.js":"4","C:\\Users\\KINGSLEY UBAH\\desktop\\hacker\\src\\App.js":"5","C:\\Users\\KINGSLEY UBAH\\desktop\\hacker\\src\\components\\Posts.js":"6","C:\\Users\\KINGSLEY UBAH\\Desktop\\hacker\\src\\index.js":"7","C:\\Users\\KINGSLEY UBAH\\Desktop\\hacker\\src\\App.js":"8","C:\\Users\\KINGSLEY UBAH\\Desktop\\hacker\\src\\components\\Posts.js":"9"},{"size":446,"mtime":1628787476534,"results":"10","hashOfConfig":"11"},{"size":442,"mtime":1628784801743,"results":"12","hashOfConfig":"11"},{"size":2165,"mtime":1628937433079,"results":"13","hashOfConfig":"11"},{"size":446,"mtime":1628787476534,"results":"14","hashOfConfig":"15"},{"size":1193,"mtime":1631634493430,"results":"16","hashOfConfig":"15"},{"size":2009,"mtime":1631635048717,"results":"17","hashOfConfig":"15"},{"size":446,"mtime":1628787476534,"results":"18","hashOfConfig":"19"},{"size":1181,"mtime":1631699801871,"results":"20","hashOfConfig":"19"},{"size":2007,"mtime":1631715205386,"results":"21","hashOfConfig":"19"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},"p1i3wr",{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"29"},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"qz6bgu",{"filePath":"32","messages":"33","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"34","messages":"35","errorCount":0,"warningCount":13,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"38"},"olduht",{"filePath":"39","messages":"40","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":"41","usedDeprecatedRules":"38"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":13,"fixableErrorCount":0,"fixableWarningCount":0,"source":"44"},"C:\\Users\\KINGSLEY UBAH\\Node\\harperdb-movie-generator\\src\\index.js",[],["45","46"],"C:\\Users\\KINGSLEY UBAH\\Node\\harperdb-movie-generator\\src\\App.js",[],"C:\\Users\\KINGSLEY UBAH\\Node\\harperdb-movie-generator\\src\\components\\Movie.js",["47","48"],"import React from 'react';\r\nimport { useHarperDB } from 'use-harperdb';\r\n\r\nfunction Movie() {\r\nlet [data, loading, error, refresh] = useHarperDB({\r\n query: {\r\n operation: 'sql',\r\n sql: `select * from collection.movie where id = ${Math.floor(Math.random() * 8) + 1}`\r\n }\r\n /* interval: 40000 */\r\n }\r\n )\r\n\r\n\r\n\r\n if(loading) {\r\n return <div> Loading... </div>\r\n }\r\n\r\n\r\nif(data) {\r\n return (\r\n<>\r\n<div className=\"movie-cover\">\r\n <div className=\"top-information\">\r\n <h2 className=\"title\">{data[0].title}</h2>\r\n <div className=\"circle\">\r\n <div className=\"ratings\">\r\n <span className=\"big-half\">{data[0].rating}</span>/<span className=\"small-half\">10</span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div className=\"supporting-info\">\r\n <span className=\"year\">{data[0].date}</span> -\r\n <span className=\"time\">{data[0].hours}h:{data[0].minutes}m</span>\r\n </div>\r\n <div className=\"image\">\r\n <img src={data[0].cover} alt=\"Movie Image\" />\r\n </div>\r\n</div>\r\n\r\n<div className=\"genres\">\r\n <ul className=\"movie-genres\">\r\n {data[0].genres.map((genre, index) => {\r\n return (\r\n <li key={index}><span className=\"movie-genre-item\">{genre}</span></li>\r\n )\r\n })}\r\n </ul>\r\n</div>\r\n\r\n<div className=\"lower-information\">\r\n <p>{data[0].description}</p>\r\n\r\n <hr />\r\n <p> Starring: {data[0].stars.map((star, index) => {\r\n return (\r\n <span key={index}>{star} - </span>\r\n )\r\n })}\r\n </p>\r\n <hr />\r\n <p> Writers:\r\n {data[0].writers.map((writer, index) => {\r\n return (\r\n <span key={index} className=\"writer\">{writer} - </span>\r\n )\r\n })}\r\n </p>\r\n <hr />\r\n <p>Directors:\r\n {data[0].directors.map((director, index) => {\r\n return (\r\n <span key={index} className=\"director\">{director} - </span>\r\n )\r\n })}\r\n </p>\r\n <hr />\r\n <div className=\"action-buttons\">\r\n <a href={data[0].website} className=\"visit-movie-button\">Visit Movie</a>\r\n <a href=\"\" className=\"generate-movie-button\" onClick={refresh}>GENERATE NEW MOVIE</a>\r\n </div>\r\n</div>\r\n</>\r\n)\r\n} else {\r\n return (\r\n <div>Sorry No Data\r\n {error}\r\n </div>\r\n )\r\n}\r\n\r\n}\r\n\r\nexport default Movie\r\n","C:\\Users\\KINGSLEY UBAH\\desktop\\hacker\\src\\index.js",[],"C:\\Users\\KINGSLEY UBAH\\desktop\\hacker\\src\\App.js",["49","50","51","52","53","54","55","56","57"],"C:\\Users\\KINGSLEY UBAH\\desktop\\hacker\\src\\components\\Posts.js",["58","59","60","61","62","63","64","65","66","67","68","69","70"],"C:\\Users\\KINGSLEY UBAH\\Desktop\\hacker\\src\\index.js",[],["71","72"],"C:\\Users\\KINGSLEY UBAH\\Desktop\\hacker\\src\\App.js",["73","74","75","76","77","78","79","80"],"import React from 'react';\nimport './App.css';\nimport Posts from './components/Posts';\nimport logo from './hacker-news.svg'\n\nfunction App() {\n return (\n <div className=\"App\">\n <div className=\"container\">\n <div className=\"header flex\">\n <div className=\"part-1 flex\">\n <div className=\"image\">\n <img src={logo} alt=\"\" />\n </div>\n\n <h1 className=\"logo\">Hacker News</h1>\n <h3><a href=\"\">new</a></h3> <span className=\"stroke\">|</span>\n <h3><a href=\"\">past</a></h3> <span className=\"stroke\">|</span>\n <h3><a href=\"\">comments</a></h3> <span className=\"stroke\">|</span>\n <h3><a href=\"\">ask</a></h3> <span className=\"stroke\">|</span>\n <h3><a href=\"\">show</a></h3> <span className=\"stroke\">|</span>\n <h3><a href=\"\">job</a></h3> <span className=\"stroke\">|</span>\n <h3><a href=\"\">submit</a></h3> <span className=\"stroke\">|</span>\n </div>\n\n <div className=\"part-2\">\n <h3><a href=\"\">login</a></h3>\n </div>\n </div>\n\n <Posts />\n </div>\n </div>\n );\n}\n\nexport default App;\n","C:\\Users\\KINGSLEY UBAH\\Desktop\\hacker\\src\\components\\Posts.js",["81","82","83","84","85","86","87","88","89","90","91","92","93"],"import React from 'react';\r\nimport { useHarperDB } from 'use-harperdb';\r\n\r\nfunction Posts() {\r\nlet [data, loading, error, refresh] = useHarperDB({\r\n query: {\r\n operation: 'sql',\r\n sql: `select * from HackerNews.posts`\r\n }\r\n /* interval: 40000 */\r\n }\r\n )\r\n\r\n\r\n\r\nif(loading) {\r\n return <div> Loading... </div>\r\n }\r\n\r\n\r\nif(data) {\r\n return (\r\n <div className=\"body\">\r\n <div className=\"posts\">\r\n\r\n {data.map((post, index) => {\r\n return (\r\n <div key={post.id}>\r\n <p><span className=\"number\">{post.id}.</span> <span className=\"triangle\"></span>{post.title}<a href={post.url} className=\"website\">{post.website}</a> </p>\r\n <p className=\"secondary\">{post.points} points by <a href=\"\" className=\"outline\">{post.user}</a> <a href=\"\" className=\"outline\">{post.time}</a> | <a href=\"\" className=\"outline\">hide</a> | <a class=\"outline\" href=\"\">{post.comments} comments</a> </p>\r\n </div>\r\n )\r\n })}\r\n\r\n </div>\r\n\r\n <div className=\"footer\">\r\n <p><a href=\"\" onClick={refresh}>More</a></p>\r\n <hr />\r\n <div className=\"links\">\r\n <p><a href=\"\">Guidelines</a><span className=\"stroke\">|</span> <a href=\"\">FAQs</a><span className=\"stroke\">|</span> <a href=\"\">Lists</a><span className=\"stroke\">|</span>\r\n <a href=\"\">API</a><span className=\"stroke\">|</span> <a href=\"\">Security</a><span className=\"stroke\">|</span> <a href=\"\">Legal</a><span className=\"stroke\">|</span>\r\n <a href=\"\">Apply to YC</a><span className=\"stroke\">|</span> <a href=\"\">Contact</a>\r\n </p>\r\n </div>\r\n <div className=\"form\">\r\n <label for=\"Search\">Search:</label>\r\n <input type=\"text\" name=\"\" id=\"\" />\r\n </div>\r\n </div>\r\n </div>\r\n)\r\n} else {\r\n return (\r\n <div>Sorry No Data\r\n {error}\r\n </div>\r\n )\r\n}\r\n\r\n}\r\n\r\nexport default Posts\r\n",{"ruleId":"94","replacedBy":"95"},{"ruleId":"96","replacedBy":"97"},{"ruleId":"98","severity":1,"message":"99","line":39,"column":5,"nodeType":"100","endLine":39,"endColumn":50},{"ruleId":"101","severity":1,"message":"102","line":82,"column":5,"nodeType":"100","endLine":82,"endColumn":68},{"ruleId":"103","severity":1,"message":"104","line":10,"column":40,"nodeType":"105","endLine":12,"endColumn":15},{"ruleId":"101","severity":1,"message":"102","line":18,"column":19,"nodeType":"100","endLine":18,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":19,"column":19,"nodeType":"100","endLine":19,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":20,"column":19,"nodeType":"100","endLine":20,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":21,"column":19,"nodeType":"100","endLine":21,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":22,"column":19,"nodeType":"100","endLine":22,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":23,"column":19,"nodeType":"100","endLine":23,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":24,"column":19,"nodeType":"100","endLine":24,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":28,"column":19,"nodeType":"100","endLine":28,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":30,"column":64,"nodeType":"100","endLine":30,"endColumn":95},{"ruleId":"101","severity":1,"message":"102","line":30,"column":111,"nodeType":"100","endLine":30,"endColumn":142},{"ruleId":"101","severity":1,"message":"102","line":30,"column":161,"nodeType":"100","endLine":30,"endColumn":192},{"ruleId":"101","severity":1,"message":"102","line":30,"column":204,"nodeType":"100","endLine":30,"endColumn":231},{"ruleId":"101","severity":1,"message":"102","line":38,"column":16,"nodeType":"100","endLine":38,"endColumn":45},{"ruleId":"101","severity":1,"message":"102","line":41,"column":18,"nodeType":"100","endLine":41,"endColumn":29},{"ruleId":"101","severity":1,"message":"102","line":41,"column":77,"nodeType":"100","endLine":41,"endColumn":88},{"ruleId":"101","severity":1,"message":"102","line":41,"column":130,"nodeType":"100","endLine":41,"endColumn":141},{"ruleId":"101","severity":1,"message":"102","line":42,"column":19,"nodeType":"100","endLine":42,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":42,"column":71,"nodeType":"100","endLine":42,"endColumn":82},{"ruleId":"101","severity":1,"message":"102","line":42,"column":128,"nodeType":"100","endLine":42,"endColumn":139},{"ruleId":"101","severity":1,"message":"102","line":43,"column":19,"nodeType":"100","endLine":43,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":43,"column":79,"nodeType":"100","endLine":43,"endColumn":90},{"ruleId":"94","replacedBy":"106"},{"ruleId":"96","replacedBy":"107"},{"ruleId":"101","severity":1,"message":"102","line":17,"column":19,"nodeType":"100","endLine":17,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":18,"column":19,"nodeType":"100","endLine":18,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":19,"column":19,"nodeType":"100","endLine":19,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":20,"column":19,"nodeType":"100","endLine":20,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":21,"column":19,"nodeType":"100","endLine":21,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":22,"column":19,"nodeType":"100","endLine":22,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":23,"column":19,"nodeType":"100","endLine":23,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":27,"column":19,"nodeType":"100","endLine":27,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":30,"column":64,"nodeType":"100","endLine":30,"endColumn":95},{"ruleId":"101","severity":1,"message":"102","line":30,"column":111,"nodeType":"100","endLine":30,"endColumn":142},{"ruleId":"101","severity":1,"message":"102","line":30,"column":161,"nodeType":"100","endLine":30,"endColumn":192},{"ruleId":"101","severity":1,"message":"102","line":30,"column":204,"nodeType":"100","endLine":30,"endColumn":231},{"ruleId":"101","severity":1,"message":"102","line":38,"column":16,"nodeType":"100","endLine":38,"endColumn":45},{"ruleId":"101","severity":1,"message":"102","line":41,"column":18,"nodeType":"100","endLine":41,"endColumn":29},{"ruleId":"101","severity":1,"message":"102","line":41,"column":77,"nodeType":"100","endLine":41,"endColumn":88},{"ruleId":"101","severity":1,"message":"102","line":41,"column":130,"nodeType":"100","endLine":41,"endColumn":141},{"ruleId":"101","severity":1,"message":"102","line":42,"column":19,"nodeType":"100","endLine":42,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":42,"column":71,"nodeType":"100","endLine":42,"endColumn":82},{"ruleId":"101","severity":1,"message":"102","line":42,"column":128,"nodeType":"100","endLine":42,"endColumn":139},{"ruleId":"101","severity":1,"message":"102","line":43,"column":19,"nodeType":"100","endLine":43,"endColumn":30},{"ruleId":"101","severity":1,"message":"102","line":43,"column":79,"nodeType":"100","endLine":43,"endColumn":90},"no-native-reassign",["108"],"no-negated-in-lhs",["109"],"jsx-a11y/img-redundant-alt","Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop.","JSXOpeningElement","jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","react/jsx-no-comment-textnodes","Comments inside children section of tag should be placed inside braces","Literal",["108"],["109"],"no-global-assign","no-unsafe-negation"]