Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 3b53703

Browse files
committed
refactor(server): add and start enforcing stricter ts config
Add eslint rules with type-checking, add alternative strict tsconfig which enables typechecking plain JS; currently still many lint errors.
1 parent a71fa56 commit 3b53703

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

server/.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = {
1616
overrides: [{
1717
files: ['*.ts'],
1818
extends: [
19-
'plugin:@typescript-eslint/recommended'
19+
'plugin:@typescript-eslint/recommended',
20+
'plugin:@typescript-eslint/recommended-requiring-type-checking'
2021
],
2122
plugins: [
2223
'@typescript-eslint'

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11457,7 +11457,12 @@ [email protected]:
1145711457
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7"
1145811458
integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==
1145911459

11460-
strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
11460+
strip-json-comments@^3.1.0:
11461+
version "3.1.0"
11462+
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.0.tgz#7638d31422129ecf4457440009fba03f9f9ac180"
11463+
integrity sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==
11464+
11465+
strip-json-comments@^3.1.1:
1146111466
version "3.1.1"
1146211467
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
1146311468
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==

0 commit comments

Comments
 (0)