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
..
2020-10-02 13:24:21 -04:00
2021-05-18 10:36:59 +02:00
2020-12-22 22:18:12 -05:00
2020-10-02 13:24:21 -04:00
2021-05-24 12:56:18 -04:00
2020-10-02 13:24:21 -04:00
2021-05-18 10:36:59 +02:00
2021-05-24 12:56:18 -04:00
2020-10-02 13:24:21 -04:00
2021-02-25 10:50:24 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-02-03 23:10:51 -05:00
2020-10-02 13:24:21 -04:00
2021-05-24 12:56:18 -04:00
2020-10-02 13:24:21 -04:00
2021-04-26 18:54:55 -04:00
2021-05-24 12:56:18 -04:00
2021-03-05 12:42:57 -05:00
2020-10-02 13:24:21 -04:00
2020-10-03 22:56:00 -04:00
2020-10-02 13:24:21 -04:00
2021-05-24 12:56:18 -04:00
2021-05-24 12:56:18 -04:00
2020-10-06 13:18:50 -04:00
2020-10-10 00:35:33 -04:00
2021-05-18 10:36:59 +02:00
2020-11-11 17:25:38 -05:00
2021-03-01 13:49:31 -05:00
2020-10-02 13:24:21 -04:00
2021-05-24 12:56:18 -04:00
2021-05-24 12:56:18 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-10 10:32:07 -05:00
2021-04-29 20:56:25 +02:00
2021-05-18 10:36:59 +02:00
2020-10-02 13:24:21 -04:00
2021-05-24 12:56:18 -04:00
2021-05-24 12:56:18 -04:00
2021-04-26 18:54:55 -04:00
2021-02-09 09:17:32 -05:00
2021-02-09 09:17:32 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-02-05 10:15:01 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-12 16:04:18 -04:00
2020-10-12 16:04:18 -04:00
2020-10-02 13:24:21 -04:00
2020-11-10 10:32:07 -05:00
2020-10-02 13:24:21 -04:00
2021-03-17 01:35:56 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-04-26 18:54:55 -04:00
2021-04-26 18:54:55 -04:00
2020-10-02 13:24:21 -04:00
2021-05-18 09:59:20 -04:00
2021-05-24 12:56:18 -04:00
2021-05-24 12:56:18 -04:00
2020-08-14 13:34:38 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-05-18 10:36:59 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-05-05 15:05:13 +02:00
2021-05-03 09:13:28 +02:00
2021-05-03 09:13:28 +02:00
2020-10-02 13:24:21 -04:00
2021-03-17 01:35:56 -04:00