[wp-trac] [WordPress Trac] #47411: Build tools, WPCS: disable line ending check

WordPress Trac noreply at wordpress.org
Tue Apr 7 22:18:45 UTC 2020


#47411: Build tools, WPCS: disable line ending check
------------------------------+-------------------------------
 Reporter:  azaozz            |       Owner:  azaozz
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.5
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by azaozz):

 Replying to [comment:18 SergeyBiryukov]:
 > These back-and-forth changes take a significant amount of time and are
 completely unnecessary.

 Yes, they are useless. Agree that the `Generic.Files.LineEndings` sniff is
 not relevant.

 Also agree with @johnbillion that ideally this should be fixed in WPCS.
 Opened https://github.com/WordPress/WordPress-Coding-Standards/issues/1880
 for that.

 Thinking it would be good to disable the above rule in the settings in
 core while waiting for WPCS to be updated. +1 to commit.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47411#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list