{"id":2069,"date":"2021-08-19T20:14:33","date_gmt":"2021-08-19T12:14:33","guid":{"rendered":"https:\/\/jimmyswebnote.com\/?p=2069"},"modified":"2021-08-19T20:14:35","modified_gmt":"2021-08-19T12:14:35","slug":"google-typescript-style-node-js","status":"publish","type":"post","link":"https:\/\/jimmyswebnote.com\/google-typescript-style-node-js\/","title":{"rendered":"\u3010 TypeScript \u3011\u5efa\u7acb Google TypeScript Style \u7684 Node.js \u74b0\u5883"},"content":{"rendered":"\n

\u4e4b\u524d\u96d6\u7136\u5beb\u904e \u3010 Node.js \u3011\u5982\u4f55\u5728 Node.js \u4e2d\u5efa\u7acb TypeScript \u7684\u74b0\u5883<\/a>\uff0c\u4f46\u4e26\u6c92\u6709\u5c0e\u5165 ESLint \u548c Prettier \u4f86\u6c7a\u5b9a coding style\uff0c\u9019\u7bc7\u7c21\u55ae\u8a18\u9304\u4e00\u4e0b\u5982\u4f55\u5efa\u7acb Google TypeScript Style \u7684 Node.js \u74b0\u5883\u3002<\/p>\n\n\n\n

Google \u6709\u5c07\u8a72 style guide \u5305\u6210\u5957\u4ef6 ( gts ) \u65b9\u4fbf\u5c08\u6848\u5f15\u5165\u4f7f\u7528\uff0c\u56e0\u6b64\u6211\u5011\u76f4\u63a5\u6839\u64da gts \u7684 document<\/a> \u4f86 import google TypeScript style guide\u3002<\/p>\n\n\n\n

\n

Table of Contents<\/p>\n