Commit graph

21 commits

Author SHA1 Message Date
Jakub Jirutka
f5a283ba72 Adjust ESLint rule @typescript-eslint/ban-types - allow {} and object 2020-06-21 13:19:44 +02:00
Jakub Jirutka
ec76650a93 Disable ESLint rule import/order
When there are local typings for a third-party module, this rule classifies
import from the module as local instead of external.

See Also:
- 7e35810c7f
- bbbcd2398e
- 381caf644d
2020-06-21 13:11:09 +02:00
Jakub Jirutka
6ca8858d64 Disable ESLint rule @typescript-eslint/no-invalid-void-type 2020-06-21 12:29:08 +02:00
Jakub Jirutka
a31ddbe203 Enable more ESLint rules 2020-06-21 01:23:40 +02:00
Jakub Jirutka
49d16ec079 Use no delimiter for members in interfaces 2020-06-21 01:23:40 +02:00
Jakub Jirutka
d29f006090 Bump eslint and its plugins, update rules and fix new violations 2020-06-21 01:23:39 +02:00
Jakub Jirutka
e6b9ecf96b Change options for ESLint rule @typescript-eslint/unbound-method 2020-04-08 12:24:24 +02:00
Jakub Jirutka
c13cb544cb Change structure of tsconfigs for tests to fix issues in VSCode 2020-04-07 22:49:45 +02:00
Jakub Jirutka
bbbcd2398e Enable ESLint rule import/order 2020-04-07 22:46:47 +02:00
Jakub Jirutka
51e625dd55 Replace eslint-import-resolver-ts with eslint-import-resolver-typescript 2020-03-30 18:11:53 +02:00
Jakub Jirutka
1e0400a160 Switch ESLint rule no-non-null-assertion to warn 2020-02-06 12:08:52 +01:00
Jakub Jirutka
38048f84de Replace ESLint rule no-unused-vars-experimental with no-unused-vars
The experimental rule leverages the TypeScript compiler's unused
variable checks to report. Thus it correctly identifies even import
used for compilerOptions.jsxFactory etc.
2020-02-06 12:02:55 +01:00
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