Details
-
Task
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
None
Description
There are JavaScript tools (eslint) that help us enforce consistent coding style. More important, eslint also diagnoses some conditions that could lead to bugs, or to working-by-coincidence, that really ought to be fixed.
To some extent we can fix lint-errors in passing while working on other things. But because they often affect large regions of files (e.g. changing orders of functions, or moving methods to class functions) these changes don't play well with other work going on at the same time, and tend to lead to difficult merges. So it would be good to set aside some time to deal with these things in isolation.
Related to this (and arguably in the remit of STRIPES-5) is configuring eslint so that it applies the rules that we want, and not (all) the rules that AirBNB want. We like their general approach, but we'll need to tweak it.
TestRail: Results
Attachments
Issue Links
- is blocked by
-
STRIPES-334 Lint and format the ui-users settings area
-
- Closed
-
-
UIU-371 Lint the converters in the ui-users source
-
- Closed
-
-
UIU-372 Lint the data-provider files in the ui-users source
-
- Closed
-
- relates to
-
STRIPES-5 Establish code style guidelines for Stripes.
-
- Closed
-