Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Coding Standards
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2022 at 10:23 UTC
Updated:
26 Oct 2022 at 19:04 UTC
Jump to comment: Most recent
Comments
Comment #2
jonathan1055 commentedUntil the issue is fixed we may be able to ignore the .yml files by adding Scheduler's own .prettierignore file. First make sure we are linting at least one changed .yml file.
Comment #4
jonathan1055 commentedThe 2.x branch test reports 10 faults in
config/install/scheduler.settings.yml. This MR should report 9 now.Comment #5
jonathan1055 commentedNo faults reported - log says
I don't know why the modified .yml file is not being checked.
Comment #7
jonathan1055 commentedBranch tests at core 9.4 are clean but at 9.5 we get warnings about .yml indentation. Is there a newer version of eslint being run?
Comment #10
jonathan1055 commentedAt Core 9.5 and 10.0 we get eslint version 8.23 compared to eslint 8.14 on core 9.4
I presume 8.23 checks more things (such as indentation of comments) compared to 8.14.
Fixed on 2.x
Comment #12
jonathan1055 commentedBack-ported to 8.x-1.x. This should reduce the eslint coding faults from 586 down to just a few that should be fixed.
Comment #13
jonathan1055 commentedThat's better. Now only 2 yml faults on 8.x-1.x.
Comment #15
jonathan1055 commentedand those are fixed now, too.