Skip to content

[로보트리] 신규 하드웨어 추가 및 기존 하드웨어 코드 컨벤션 정리 #704

[로보트리] 신규 하드웨어 추가 및 기존 하드웨어 코드 컨벤션 정리

[로보트리] 신규 하드웨어 추가 및 기존 하드웨어 코드 컨벤션 정리 #704

Triggered via pull request August 30, 2023 13:40
Status Failure
Total duration 2m 17s
Artifacts

eslint_reviewdog.yml

on: pull_request
runner / eslint
2m 8s
runner / eslint
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
runner / eslint
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
runner / eslint
Process completed with exit code 1.
runner / eslint: app/modules/robotry_parodule.js#L30
[eslint] reported by reviewdog 🐶 Strings must use singlequote. Raw Output: {"ruleId":"quotes","severity":1,"message":"Strings must use singlequote.","line":30,"column":22,"nodeType":"Literal","endLine":30,"endColumn":27,"fix":{"range":[733,738],"text":"'LED'"}}
runner / eslint: app/modules/robotry_parodule.js#L31
[eslint] reported by reviewdog 🐶 Strings must use singlequote. Raw Output: {"ruleId":"quotes","severity":1,"message":"Strings must use singlequote.","line":31,"column":22,"nodeType":"Literal","endLine":31,"endColumn":27,"fix":{"range":[761,766],"text":"'LED'"}}
runner / eslint: app/modules/robotry_parodule.js#L32
[eslint] reported by reviewdog 🐶 Strings must use singlequote. Raw Output: {"ruleId":"quotes","severity":1,"message":"Strings must use singlequote.","line":32,"column":22,"nodeType":"Literal","endLine":32,"endColumn":27,"fix":{"range":[789,794],"text":"'LED'"}}
runner / eslint: app/modules/robotry_parodule.js#L33
[eslint] reported by reviewdog 🐶 Strings must use singlequote. Raw Output: {"ruleId":"quotes","severity":1,"message":"Strings must use singlequote.","line":33,"column":22,"nodeType":"Literal","endLine":33,"endColumn":27,"fix":{"range":[817,822],"text":"'LED'"}}
runner / eslint: app/modules/robotry_parodule.js#L41
[eslint] reported by reviewdog 🐶 Strings must use singlequote. Raw Output: {"ruleId":"quotes","severity":1,"message":"Strings must use singlequote.","line":41,"column":41,"nodeType":"Literal","endLine":41,"endColumn":52,"fix":{"range":[1188,1199],"text":"'entry\\r\\n'"}}
runner / eslint: app/modules/robotry_parodule.js#L43
[eslint] reported by reviewdog 🐶 Strings must use singlequote. Raw Output: {"ruleId":"quotes","severity":1,"message":"Strings must use singlequote.","line":43,"column":41,"nodeType":"Literal","endLine":43,"endColumn":54,"fix":{"range":[1348,1361],"text":"'spclose\\r\\n'"}}
runner / eslint: app/modules/robotry_parodule.js#L56
[eslint] reported by reviewdog 🐶 Unexpected var, use let or const instead. Raw Output: {"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":56,"column":9,"nodeType":"VariableDeclaration","endLine":56,"endColumn":25,"fix":{"range":[1689,1692],"text":"let"}}
runner / eslint: app/modules/robotry_parodule.js#L106
[eslint] reported by reviewdog 🐶 Unexpected var, use let or const instead. Raw Output: {"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":106,"column":9,"nodeType":"VariableDeclaration","endLine":106,"endColumn":25,"fix":{"range":[2892,2895],"text":"let"}}
runner / eslint: app/modules/robotry_parodule.js#L107
[eslint] reported by reviewdog 🐶 Unexpected var, use let or const instead. Raw Output: {"ruleId":"no-var","severity":1,"message":"Unexpected var, use let or const instead.","line":107,"column":9,"nodeType":"VariableDeclaration","endLine":107,"endColumn":48,"fix":{"range":[2917,2920],"text":"let"}}
runner / eslint: app/modules/robotry_parodule.js#L109
[eslint] reported by reviewdog 🐶 Unexpected function expression. Raw Output: {"ruleId":"prefer-arrow-callback","severity":1,"message":"Unexpected function expression.","line":109,"column":23,"nodeType":"FunctionExpression","endLine":148,"endColumn":10,"fix":{"range":[3000,4527],"text":"(data) => {\n // 센서 데이터만 걸러냄 \n if (data.length < 6) {\n return;\n }\n else if (data[0] == 0xff && data[1] == 0x44) {\n var temp = [\"\", \"\", \"\", \"\"];\n var readData = data.subarray(2, data.length);\n for (var i = 0; i < 4; i++) {\n self.paroduleData.MODULE[i] = readData[i];\n }\n for (var i = 0; i < 4; i++) {\n var value = self.paroduleData.MODULE[i];\n if (value == 209) {\n temp[i] = \"LED\";\n }\n else if (value == 210) {\n temp[i] = \"모터\";\n }\n else if (value == 211) {\n temp[i] = \"부저\";\n }\n else if (value == 208) {\n temp[i] = \"없음\";\n } else {\n temp[i] = \"모름\";\n }\n }\n self.paroduleData.MODULE1 = temp[0];\n self.paroduleData.MODULE2 = temp[1];\n self.paroduleData.MODULE3 = temp[2];\n self.paroduleData.MODULE4 = temp[3];\n }\n else if (data[0] == 0xff && data[1] == 0x66) {\n var readData = data.subarray(2, data.length);\n for (var i = 0; i < 4; i++) {\n self.paroduleData.SENSOR[i] = readData[i];\n }\n }\n }"}}
runner / eslint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
runner / eslint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/