Skip to content

GSoC Ibus Extension Refactor #130

GSoC Ibus Extension Refactor

GSoC Ibus Extension Refactor #130

Re-run triggered August 19, 2024 15:53
Status Failure
Total duration 24s
Artifacts

npm-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: customize-ibus@hollowman.ml/extension.js#L95
Replace `'candidate_orientation'` with `"candidate_orientation"`
lint: customize-ibus@hollowman.ml/extension.js#L104
Replace `PrefsKeys.keys['candidate_orientation'].name,·1·-·value` with `⏎············PrefsKeys.keys["candidate_orientation"].name,⏎············1·-·value,⏎··········`
lint: customize-ibus@hollowman.ml/extension.js#L144
Replace `'candidate_popup_animation'` with `"candidate_popup_animation"`
lint: customize-ibus@hollowman.ml/extension.js#L193
Replace `'candidate-box-right-click-func'` with `"candidate-box-right-click-func"`
lint: customize-ibus@hollowman.ml/extension.js#L304
Replace `'candidate-scroll-mode'` with `"candidate-scroll-mode"`
lint: customize-ibus@hollowman.ml/extension.js#L376
Replace `'candidate-still-position'` with `"candidate-still-position"`
lint: customize-ibus@hollowman.ml/extension.js#L382
Replace `'remember-candidate-position'` with `"remember-candidate-position"`
lint: customize-ibus@hollowman.ml/extension.js#L405
Replace `gsettings.get_value(PrefsKeys.keys['candidate-box-position'].name).deep_unpack()` with `⏎············gsettings⏎··············.get_value(PrefsKeys.keys["candidate-box-position"].name)⏎··············.deep_unpack(),⏎··········`
lint: customize-ibus@hollowman.ml/extension.js#L484
Replace `'custom-font'` with `"custom-font"`
lint: customize-ibus@hollowman.ml/extension.js#L490
Replace `'custom-font'` with `"custom-font"`
lint: customize-ibus@hollowman.ml/lib/Prefs/Prefs.js#L116
'_' is already declared in the upper scope on line 13 column 9
lint: customize-ibus@hollowman.ml/lib/Prefs/Prefs.js#L211
Private method #guessProfile has a complexity of 30. Maximum allowed is 20
lint: customize-ibus@hollowman.ml/lib/Prefs/Prefs.js#L219
'_' is already declared in the upper scope on line 13 column 9