diff --git a/.prettierrc b/.prettierrc index d035c60..96e3e0f 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,8 +1,18 @@ { + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "endOfLine": "lf", + "htmlWhitespaceSensitivity": "css", + "jsxBracketSameLine": false, + "jsxSingleQuote": true, "printWidth": 120, + "proseWrap": "preserve", + "quoteProps": "consistent", "semi": true, + "singleAttributePerLine": true, "singleQuote": true, + "tabWidth": 2, "trailingComma": "all", - "proseWrap": "never", - "endOfLine": "auto" -} + "useTabs": false +} \ No newline at end of file diff --git a/src/test.ts b/src/test.ts index e91a295..dbd3cfe 100644 --- a/src/test.ts +++ b/src/test.ts @@ -1,7 +1,8 @@ import { NS } from '@ns'; import { scan } from './utils/scan'; import { startall } from './utils/startall'; +import { kill } from './utils/kill'; export const main = (ns: NS) => { - ns.tprint(ns.purchaseServer('chungus', 128)); + ns.tprint(ns.getPurchasedServerCost(256)); };