isaacscript 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
// @ts-check
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
6
|
+
import { completeConfigBase } from "eslint-config-complete"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
7
|
+
import { isaacscriptConfigBase } from "eslint-config-isaacscript"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
8
|
+
import tseslint from "typescript-eslint"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
8
9
|
|
|
9
10
|
export default tseslint.config(
|
|
10
|
-
//
|
|
11
|
+
// https://github.com/complete-ts/complete/blob/main/packages/eslint-config-complete/src/base.js
|
|
12
|
+
...completeConfigBase,
|
|
13
|
+
|
|
11
14
|
// https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/src/base.js
|
|
12
15
|
...isaacscriptConfigBase,
|
|
13
16
|
|
|
@@ -12,13 +12,10 @@
|
|
|
12
12
|
"isaacscript-tsconfig/tsconfig.mod.json",
|
|
13
13
|
],
|
|
14
14
|
|
|
15
|
-
// A list of the TypeScript files to compile.
|
|
16
|
-
"include": ["./src/**/*.ts"],
|
|
17
|
-
|
|
18
15
|
// TypeScriptToLua settings
|
|
19
16
|
"tstl": {
|
|
20
17
|
"luaTarget": "5.3",
|
|
21
|
-
"luaBundle": "
|
|
18
|
+
"luaBundle": "main.lua", // Will bundle all output Lua files into a single file of "./mod/main.lua".
|
|
22
19
|
"luaBundleEntry": "./src/bundleEntry.ts",
|
|
23
20
|
"luaPlugins": [
|
|
24
21
|
// A plugin to add an explanatory comment at the top of the compiled "main.lua" file.
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
// @ts-check
|
|
5
5
|
|
|
6
|
-
import { completeConfigBase } from "eslint-config-complete";
|
|
7
|
-
import tseslint from "typescript-eslint";
|
|
6
|
+
import { completeConfigBase } from "eslint-config-complete"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
7
|
+
import tseslint from "typescript-eslint"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
8
8
|
|
|
9
9
|
export default tseslint.config(
|
|
10
|
-
// We use "eslint-config-complete" as the base of the config:
|
|
11
10
|
// https://github.com/complete-ts/complete/blob/main/packages/eslint-config-complete/src/base.js
|
|
12
11
|
...completeConfigBase,
|
|
13
12
|
|