提交 d99cbc01 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Update eslint rules

上级 1ff8be1e
...@@ -59,6 +59,7 @@ const eslintConfig = ...@@ -59,6 +59,7 @@ const eslintConfig =
{ {
beforeColon : true, beforeColon : true,
afterColon : true, afterColon : true,
mode : 'minimum',
align : 'colon' align : 'colon'
} }
} }
......
差异被折叠。
...@@ -71,7 +71,16 @@ ...@@ -71,7 +71,16 @@
"testEnvironment": "node", "testEnvironment": "node",
"testRegex": "node/src/tests/test-.*\\.ts", "testRegex": "node/src/tests/test-.*\\.ts",
"transform": { "transform": {
"^.*\\.ts$": [ "ts-jest", { "diagnostics": { "ignoreCodes": [ "TS151001" ] } } ] "^.*\\.ts$": [
"ts-jest",
{
"diagnostics": {
"ignoreCodes": [
"TS151001"
]
}
}
]
}, },
"cacheDirectory": ".cache/jest" "cacheDirectory": ".cache/jest"
}, },
...@@ -86,10 +95,10 @@ ...@@ -86,10 +95,10 @@
"@types/jest": "^29.2.3", "@types/jest": "^29.2.3",
"@types/node": "^18.11.9", "@types/node": "^18.11.9",
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.43.0", "@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.27.0", "eslint": "^8.28.0",
"eslint-plugin-jest": "^27.1.5", "eslint-plugin-jest": "^27.1.6",
"jest": "^29.3.1", "jest": "^29.3.1",
"open-cli": "^7.1.0", "open-cli": "^7.1.0",
"pick-port": "^1.0.1", "pick-port": "^1.0.1",
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论