Skip to content

Fix linting errors

Fix linting errors #22

Triggered via pull request February 20, 2024 17:58
Status Failure
Total duration 1m 54s
Artifacts

javascript_tests.yml

on: pull_request
Matrix: test_js
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L1
File has too many lines (482). Maximum allowed is 300
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L2
'useState' is defined but never used
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L20
Absolute imports should come before relative imports
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L33
Expected 'this' to be used by class method 'isEditing'
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L37
Expected 'this' to be used by class method 'createAnsibleGroupObject'
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L41
Arrow function should not return assignment
test_js (14): webpack/components/ApplicationDefinition/ApplicationDefinition.js#L56
'data' is missing in props validation
test_js (14)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test_js (14)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/