Externalize spec typings, use eslint.

Tslint is deprecated, as such we have moved to eslint. Linted the project with more
stringent rules. The configuration will be changed as we figure out which rules we
should keep.
This commit is contained in:
Daniel Scalzi
2020-01-24 19:27:20 -05:00
parent 8911f54039
commit 064a664687
40 changed files with 2121 additions and 493 deletions

View File

@@ -2,7 +2,7 @@
export interface ModsToml {
modLoader: string,
modLoader: string
loaderVersion: string
issueTrackerURL?: string
@@ -19,9 +19,9 @@ export interface ModsToml {
}>
dependencies?: {[modId: string]: {
modId: string,
mandatory: boolean,
versionRange: string,
modId: string
mandatory: boolean
versionRange: string
ordering?: 'NONE' | 'BEFORE' | 'AFTER'
side: 'BOTH' | 'CLIENT' | 'SERVER'
}}