Commit Graph

10 Commits

Author SHA1 Message Date
Rafael Oleza
b17f4cbf68 Enable prettier eslint plugin 2019-05-31 18:32:28 +02:00
Rafael Oleza
34dcd205e1 Enable no-use-before-define eslint rule
The changed codepath seems to be an unintentional mistake which was
added in 5c1a49fccf

I cannot see any reason to set a default argument to itself: this is
going to cause a ReferenceError when calling that function without that
argument and I guess if that was the intended behaviour the author would
have added an explicit check at the beginning of the function (or at
least a comment).
2019-05-27 11:24:12 +02:00
Rafael Oleza
a14b3a5ddd Enable symbol-description eslint rule 2019-05-27 11:17:29 +02:00
Rafael Oleza
9abdb2f93a Enable no-unused-expressions eslint rule 2019-05-27 11:15:37 +02:00
Rafael Oleza
2139b4b936 Enable prefer-promise-reject-errors eslint rule 2019-05-27 11:11:49 +02:00
Rafael Oleza
69fc4ad69a Enable no-return-await eslint rule 2019-05-27 11:00:42 +02:00
Rafael Oleza
dc2df49b60 Enable no-useless-escape eslint rule 2019-05-27 10:59:39 +02:00
Rafael Oleza
756c5b8eb8 Add prettier 2019-05-13 17:48:11 +02:00
Rafael Oleza
0534a38ba4 Change the linter to be eslint 2019-05-13 17:48:11 +02:00
Nathan Sobo
138809a3a0 Add .eslintrc.json to improve support for editor integrations 2019-05-09 10:31:34 -06:00