Commit graph

9 commits

Author SHA1 Message Date
Jakub Jirutka
fd5d79319c Bump eslint and its plugins, fix new code-style violations 2020-01-23 17:31:46 +01:00
Jakub Jirutka
495f17fd87 Convert repository to "monorepo" 2019-10-19 20:30:21 +02:00
Jakub Jirutka
9e27f0a8ed Bump eslint-config-standard-with-typescript to ^10.0.0 2019-10-18 19:02:55 +02:00
Jakub Jirutka
9cabcadd4c Fix wrong named imports and disable corresponding ESLint rule
It doesn't work when the code is bundled using Rollup.js. This problem
was introduced in 0394738a35. KaTeX and
Marked have it wrong in type declarations, so ESLint rule
import/no-named-as-default-member is not very helpful here...
2019-10-14 01:04:55 +02:00
Jakub Jirutka
0394738a35 Replace eslint-import-resolver-typescript with eslint-import-resolver-ts
The former doesn't support multiple tsconfig.json and as I found out
now, some rules didn't work with it at all.
2019-10-03 02:17:56 +02:00
Jakub Jirutka
a89fad58cf Enable ESLint for tests and update rules overrides 2019-10-03 02:17:55 +02:00
Jakub Jirutka
909d01e732 Bump eslint packages to the latest versions and update rules 2019-10-02 02:18:49 +02:00
Jakub Jirutka
196b37827f Disable ESLint rule consistent-type-definitions
It's actually better to use "interface" instead of "type" - interfaces
preserve their name in error messages, types do not (they are just
aliases).
2019-09-28 01:05:25 +02:00
Jakub Jirutka
b1f3ca8cb7 Prepare project 2019-09-15 20:28:11 +02:00