+[{"D:\\Webdev\\remote-code-executor\\client\\src\\index.js":"1","D:\\Webdev\\remote-code-executor\\client\\src\\reducers\\code.js":"2","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\CodeEditorIndex.js":"3","D:\\Webdev\\remote-code-executor\\client\\src\\App.js":"4","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Input.js":"5","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Editor.js":"6","D:\\Webdev\\remote-code-executor\\client\\src\\components\\home\\Terminal.js":"7","D:\\Webdev\\remote-code-executor\\client\\src\\reducers\\index.js":"8","D:\\Webdev\\remote-code-executor\\client\\src\\actions\\code.js":"9","D:\\Webdev\\remote-code-executor\\client\\src\\components\\home\\Home.js":"10","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Header.js":"11","D:\\Webdev\\remote-code-executor\\client\\src\\components\\home\\Header.js":"12","D:\\Webdev\\remote-code-executor\\client\\src\\constants\\theme.js":"13","D:\\Webdev\\remote-code-executor\\client\\src\\constants\\global.js":"14","D:\\Webdev\\remote-code-executor\\client\\src\\utils\\useDarkMode.js":"15","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\ToggleTheme.js":"16","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Submit.js":"17"},{"size":743,"mtime":1610226935752,"results":"18","hashOfConfig":"19"},{"size":683,"mtime":1609936382135,"results":"20","hashOfConfig":"19"},{"size":831,"mtime":1610380988931,"results":"21","hashOfConfig":"19"},{"size":565,"mtime":1610380988929,"results":"22","hashOfConfig":"19"},{"size":1337,"mtime":1610380988939,"results":"23","hashOfConfig":"19"},{"size":4348,"mtime":1610555609492,"results":"24","hashOfConfig":"19"},{"size":4866,"mtime":1610401281185,"results":"25","hashOfConfig":"19"},{"size":115,"mtime":1609936382137,"results":"26","hashOfConfig":"19"},{"size":906,"mtime":1609936382122,"results":"27","hashOfConfig":"19"},{"size":1331,"mtime":1610388602041,"results":"28","hashOfConfig":"19"},{"size":469,"mtime":1610380988937,"results":"29","hashOfConfig":"19"},{"size":360,"mtime":1610380988954,"results":"30","hashOfConfig":"19"},{"size":311,"mtime":1610280878601,"results":"31","hashOfConfig":"19"},{"size":427,"mtime":1610283140701,"results":"32","hashOfConfig":"19"},{"size":813,"mtime":1609936382142,"results":"33","hashOfConfig":"19"},{"size":1731,"mtime":1610380988943,"results":"34","hashOfConfig":"19"},{"size":535,"mtime":1610380988941,"results":"35","hashOfConfig":"19"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"38"},"j0ormm",{"filePath":"39","messages":"40","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"41","usedDeprecatedRules":"38"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"38"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"48","usedDeprecatedRules":"49"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"52","messages":"53","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"38"},{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\Webdev\\remote-code-executor\\client\\src\\index.js",[],["74","75"],"D:\\Webdev\\remote-code-executor\\client\\src\\reducers\\code.js",["76"],"import { SET_OUTPUT, SET_ERROR, SET_LOADING_TRUE } from '../actions/type';\r\n\r\nconst initialState = {\r\n isFetching: false,\r\n output: '',\r\n error: ''\r\n};\r\n\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case SET_LOADING_TRUE:\r\n return {\r\n ...state,\r\n isFetching: true\r\n };\r\n case SET_OUTPUT:\r\n return {\r\n ...state,\r\n isFetching: false,\r\n output: action.payload.output,\r\n error: ''\r\n };\r\n case SET_ERROR:\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: action.payload,\r\n output: ''\r\n };\r\n default:\r\n return state;\r\n }\r\n}\r\n","D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\CodeEditorIndex.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\App.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Input.js",["77"],"import React, { useEffect } from 'react';\r\nimport styled from 'styled-components';\r\nimport { useSelector } from 'react-redux';\r\nimport styles from './styles/input.module.css';\r\n\r\nconst Div = styled.div`\r\n height: 100%;\r\n // flex: 1;\r\n box-sizing: border-box;\r\n margin: 20;\r\n color: ${props => props.error && 'red'};\r\n background-color: '#eeeeee';\r\n overflow: scroll;\r\n outline: none;\r\n`;\r\n\r\nconst TextInput = styled.textarea`\r\n color: ${props => (props.theme === 'dark' ? 'white' : 'black')};\r\n background-color: ${props => (props.theme === 'dark' ? '#1e1e1e' : 'white')};\r\n width: 100%;\r\n height: 100%;\r\n padding: 20px;\r\n outline: none;\r\n resize: none;\r\n border: none;\r\n border-radius: 0;\r\n font-size: 1.2em;\r\n`;\r\n\r\nconst Input = ({ input, setInput, theme }) => {\r\n let output = useSelector(state => state.code.output);\r\n let error = useSelector(state => state.code.error);\r\n\r\n useEffect(() => {\r\n console.log(output);\r\n }, [output]);\r\n return (\r\n <Div className={styles.input_field}>\r\n <TextInput\r\n theme={theme}\r\n value={input}\r\n onChange={e => {\r\n console.log(e.target.value);\r\n setInput(e.target.value);\r\n }}\r\n className={styles.textarea_input}\r\n placeholder='Give input here...'\r\n />\r\n </Div>\r\n );\r\n};\r\n\r\nexport default Input;\r\n",["78","79"],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Editor.js",["80","81"],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\home\\Terminal.js",["82","83"],"D:\\Webdev\\remote-code-executor\\client\\src\\reducers\\index.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\actions\\code.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\home\\Home.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Header.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\home\\Header.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\constants\\theme.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\constants\\global.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\utils\\useDarkMode.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\ToggleTheme.js",[],"D:\\Webdev\\remote-code-executor\\client\\src\\components\\code-editor\\Submit.js",[],{"ruleId":"84","replacedBy":"85"},{"ruleId":"86","replacedBy":"87"},{"ruleId":"88","severity":1,"message":"89","line":9,"column":1,"nodeType":"90","endLine":33,"endColumn":2},{"ruleId":"91","severity":1,"message":"92","line":32,"column":7,"nodeType":"93","messageId":"94","endLine":32,"endColumn":12},{"ruleId":"84","replacedBy":"95"},{"ruleId":"86","replacedBy":"96"},{"ruleId":"91","severity":1,"message":"97","line":13,"column":7,"nodeType":"93","messageId":"94","endLine":13,"endColumn":10},{"ruleId":"91","severity":1,"message":"98","line":32,"column":10,"nodeType":"93","messageId":"94","endLine":32,"endColumn":22},{"ruleId":"91","severity":1,"message":"99","line":4,"column":20,"nodeType":"93","messageId":"94","endLine":4,"endColumn":24},{"ruleId":"91","severity":1,"message":"100","line":30,"column":7,"nodeType":"93","messageId":"94","endLine":30,"endColumn":11},"no-native-reassign",["101"],"no-negated-in-lhs",["102"],"import/no-anonymous-default-export","Unexpected default export of anonymous function","ExportDefaultDeclaration","no-unused-vars","'error' is assigned a value but never used.","Identifier","unusedVar",["101"],["102"],"'Row' is assigned a value but never used.","'windowHeight' is assigned a value but never used.","'User' is defined but never used.","'Body' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]
0 commit comments