WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 4 months ago

#39359 closed defect (bug) (fixed)

`.jsintrc` is a JSON file, indentation should use tabs, not spaces

Reported by: netweb Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch commit
Focuses: Cc:

Description

Following up from #29884 / r29858:

.jshintrc is a json file and .editorconfig should treat it like a json file

Even though the editorconfig file was updated to treat jshintrc as a JSON file and use spaces, not tabs the actual .jshintrc file was never updated, this ticket address this oversight on my part.

Attachments (1)

39359.diff (954 bytes) - added by netweb 5 months ago.

Download all attachments as: .zip

Change History (2)

@netweb
5 months ago

#1 @SergeyBiryukov
4 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 39898:

Build/Test Tools: After [29858], update .jsintrc to use spaces, not tabs.

Props netweb.
Fixes #39359.

Note: See TracTickets for help on using tickets.