gristlabs_grist-core/app/client/ui2018
Dmitry S d1c1416d78 (core) Add rules to eslint to better match our coding conventions.
Summary:
We used tslint earlier, and on switching to eslint, some rules were not
transfered. This moves more rules over, for consistent conventions or helpful
warnings.

- Name private members with a leading underscore.
- Prefer interface over a type alias.
- Use consistent spacing around ':' in type annotations.
- Use consistent spacing around braces of code blocks.
- Use semicolons consistently at the ends of statements.
- Use braces around even one-liner blocks, like conditionals and loops.
- Warn about shadowed variables.

Test Plan: Fixed all new warnings. Should be no behavior changes in code.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2831
2021-05-24 12:56:18 -04:00
..
breadcrumbs.ts (core) Add a button and a tooltip to Access Rules page item, in View-As mode. 2021-03-08 16:08:21 -05:00
buttons.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
buttonSelect.ts (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
checkbox.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ColorPalette.ts (core) Brings the new color select. 2021-02-19 16:18:14 +01:00
ColorSelect.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
cssVars.ts (core) Configure more comprehensive eslint rules for Typescript 2021-04-26 18:54:55 -04:00
draggableList.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
editableLabel.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
IconList.ts (core) Document keeps track of latest cursor position and latest editor value and is able to restore them when it is reloaded. 2021-05-18 10:36:59 +02:00
icons.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
links.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
loaders.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
menus.ts (core) Remove the aclUI=1 flag and add 'BETA' tag to the Access Rules page name. 2021-03-25 18:10:00 -04:00
modals.ts (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
pages.ts (core) granular access control in the presence of schema changes 2021-03-01 13:49:31 -05:00
search.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00