-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
onComplete-arguments.json
81 lines (81 loc) · 5.21 KB
/
onComplete-arguments.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"results": [
{
"repository": "jira_clone",
"repositoryOwner": "oldboyxx",
"rule": "no-empty-function",
"message": "Unexpected empty arrow function 'onClick'.",
"path": "oldboyxx/jira_clone/client/src/shared/components/Button/index.jsx",
"link": "https://github.com/oldboyxx/jira_clone/blob/HEAD/client/src/shared/components/Button/index.jsx#L28-L28",
"extension": "jsx",
"source": " 26 | disabled: false,\n 27 | isWorking: false,\n> 28 | onClick: () => {},\n | ^^\n 29 | };\n 30 | \n 31 | const Button = forwardRef("
},
{
"repository": "jira_clone",
"repositoryOwner": "oldboyxx",
"rule": "no-empty-function",
"message": "Unexpected empty arrow function 'onChange'.",
"path": "oldboyxx/jira_clone/client/src/shared/components/Input/index.jsx",
"link": "https://github.com/oldboyxx/jira_clone/blob/HEAD/client/src/shared/components/Input/index.jsx#L21-L21",
"extension": "jsx",
"source": " 19 | invalid: false,\n 20 | filter: undefined,\n> 21 | onChange: () => {},\n | ^^\n 22 | };\n 23 | \n 24 | const Input = forwardRef(({ icon, className, filter, onChange, ...inputProps }, ref) => {"
}
],
"comparisonResults": {
"added": [
{
"repository": "jira_clone",
"repositoryOwner": "oldboyxx",
"rule": "no-empty-function",
"message": "Unexpected empty arrow function 'onClick'.",
"path": "oldboyxx/jira_clone/client/src/shared/components/Button/index.jsx",
"link": "https://github.com/oldboyxx/jira_clone/blob/HEAD/client/src/shared/components/Button/index.jsx#L28-L28",
"extension": "jsx",
"source": " 26 | disabled: false,\n 27 | isWorking: false,\n> 28 | onClick: () => {},\n | ^^\n 29 | };\n 30 | \n 31 | const Button = forwardRef("
},
{
"repository": "jira_clone",
"repositoryOwner": "oldboyxx",
"rule": "no-empty-function",
"message": "Unexpected empty arrow function 'onChange'.",
"path": "oldboyxx/jira_clone/client/src/shared/components/Input/index.jsx",
"link": "https://github.com/oldboyxx/jira_clone/blob/HEAD/client/src/shared/components/Input/index.jsx#L21-L21",
"extension": "jsx",
"source": " 19 | invalid: false,\n 20 | filter: undefined,\n> 21 | onChange: () => {},\n | ^^\n 22 | };\n 23 | \n 24 | const Input = forwardRef(({ icon, className, filter, onChange, ...inputProps }, ref) => {"
}
],
"removed": [
{
"repository": "js-framework-playground",
"repositoryOwner": "AriPerkkio",
"rule": "id-length",
"message": "Identifier name 's' is too short (< 2).",
"path": "AriPerkkio/js-framework-playground/packages/react/src/components/LoadButton.jsx",
"link": "https://github.com/AriPerkkio/js-framework-playground/blob/HEAD/packages/react/src/components/LoadButton.jsx#L4-L4",
"extension": "jsx",
"source": " 2 | \n 3 | const LoadButton = ({ onUserLoad }) => {\n> 4 | const [userIndex, increaseUserIndex] = useReducer(s => s + 1, 1);\n | ^\n 5 | const [disabled, toggleDisabled] = useReducer(s => !s, false);\n 6 | \n 7 | const onClick = () => {"
},
{
"repository": "js-framework-playground",
"repositoryOwner": "AriPerkkio",
"rule": "id-length",
"message": "Identifier name 's' is too short (< 2).",
"path": "AriPerkkio/js-framework-playground/packages/react/src/components/LoadButton.jsx",
"link": "https://github.com/AriPerkkio/js-framework-playground/blob/HEAD/packages/react/src/components/LoadButton.jsx#L5-L5",
"extension": "jsx",
"source": " 3 | const LoadButton = ({ onUserLoad }) => {\n 4 | const [userIndex, increaseUserIndex] = useReducer(s => s + 1, 1);\n> 5 | const [disabled, toggleDisabled] = useReducer(s => !s, false);\n | ^\n 6 | \n 7 | const onClick = () => {\n 8 | toggleDisabled();"
},
{
"repository": "js-framework-playground",
"repositoryOwner": "AriPerkkio",
"rule": "id-length",
"message": "Identifier name 'h' is too short (< 2).",
"path": "AriPerkkio/js-framework-playground/packages/vue/src/main.js",
"link": "https://github.com/AriPerkkio/js-framework-playground/blob/HEAD/packages/vue/src/main.js#L7-L7",
"extension": "js",
"source": " 5 | \n 6 | new Vue({\n> 7 | render: h => h(App),\n | ^\n 8 | }).$mount('#app')\n 9 | "
}
]
},
"repositoryCount": 123
}