[FOLIO-351] Use EditorConfig configuration and apply consistent whitespace Created: 11/Oct/16 Updated: 26/Feb/21 |
|
| Status: | In Progress |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | David Crossley | Assignee: | David Crossley |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 4 days, 2 hours, 30 minutes | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||
| Sprint: | |||||||||||||||||
| Description |
|
Use a .editorconfig file at the top level of a repository to enable configuration of text editors for whitespace consistency. See some notes at https://dev.folio.org/guides/developer-setup/#coding-style |
| Comments |
| Comment by David Crossley [ 11/Oct/16 ] |
|
See two approaches: "inclusive" and "specific" mentioned at
If a certain sub-directory tree needs to avoid this, then place a basic .editorconfig file at its top level with a single property, viz.: |
| Comment by David Crossley [ 11/Oct/16 ] |
|
Done folio-sample-modules. |
| Comment by David Crossley [ 27/Oct/16 ] |
|
Done raml-module-builder. |
| Comment by David Crossley [ 04/Nov/16 ] |
|
Done folio-ansible. |
| Comment by David Crossley [ 30/Nov/16 ] |
|
Done raml. |
| Comment by David Crossley [ 01/Dec/16 ] |
|
Done mod-acquisitions and mod-acquisitions-postgres |
| Comment by David Crossley [ 01/Dec/16 ] |
|
Done okapi |
| Comment by David Crossley [ 20/Dec/16 ] |
|
Done mod-circulation |
| Comment by David Crossley [ 21/Dec/16 ] |
|
Done mod-configuration |
| Comment by David Crossley [ 28/Dec/16 ] |
|
Done cql2pgjson-java |
| Comment by David Crossley [ 15/Feb/17 ] |
|
Soon after Kurt Nordstrom merges the new mod-users and mod-auth, then i will do those for consistent whitespace, coding style, and other tidy. |
| Comment by David Crossley [ 20/Feb/17 ] |
|
Done mod-users |
| Comment by David Crossley [ 20/Feb/17 ] |
|
Done mod-auth (Still some more in the /testing/ area.) |
| Comment by David Crossley [ 21/Mar/17 ] |
|
Done all of mod-auth |
| Comment by David Crossley [ 04/Jan/18 ] |
|
Done various others since then. For new repositores, see http://dev.folio.org/doc/create-new-repo/ which suggests copying a default .editorconfig file from mod-notes. |