Skip to content

Commit 78ce253

Browse files
committed
chore: upgrade dependencies
1 parent 7f9c4d3 commit 78ce253

File tree

3 files changed

+403
-629
lines changed

3 files changed

+403
-629
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dev": "tsc --watch",
2020
"lint": "run-s lint:prettier lint:eslint",
2121
"lint:eslint": "eslint . --ext .ts",
22-
"lint:prettier": "prettier --check **/*.{ts,md,yml,json}",
22+
"lint:prettier": "prettier --check .",
2323
"prepublishOnly": "yarn build"
2424
},
2525
"prettier": {
@@ -46,9 +46,9 @@
4646
"@ark120202/typescript-config": "^2.1.0",
4747
"@types/mock-require": "^2.0.0",
4848
"@types/node": "^14.0.23",
49-
"eslint": "^6.8.0",
49+
"eslint": "^7.4.0",
5050
"npm-run-all": "^4.1.5",
51-
"prettier": "^1.19.1",
51+
"prettier": "^2.0.5",
5252
"typescript": "^3.9.6"
5353
},
5454
"engines": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class TSTLPlugin {
109109
throw new Error(`Unsupported TypeScriptToLua version: ${this.tstl.version}`);
110110
}
111111

112-
return diagnostics.map(diag => ({ ...diag, code: undefined! }));
112+
return diagnostics.map((diag) => ({ ...diag, code: undefined! }));
113113
} catch (error) {
114114
this.log(`Error during transpilation: ${error.stack}`);
115115
}

0 commit comments

Comments
 (0)