Commit Graph

5370 Commits

Author SHA1 Message Date
Steven Evans
2b5090a273 [style] Cleaning up TSLint violations
Adding a few custom types and documentation to clean up TSLint rule
violations. Included some usage of rule disabling for things like long
lines where we need to extract text that the user would see. That level
of text should really be separated from the logic.
2018-06-26 21:40:26 -04:00
danielyxie
18e47ee7c4 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-26 16:58:45 -05:00
danielyxie
d9bfe213a2
Merge pull request #343 from hydroflame/faction-info-ts
Faction info ts
2018-06-26 16:58:28 -05:00
danielyxie
83fc1d6288
Updating CONTRIBUTING.md 2018-06-26 16:43:26 -05:00
Olivier Gagnon
048cbb0910 faction into to ts 2018-06-26 16:34:14 -04:00
danielyxie
c1e54cbf77
Merge pull request #319 from kopelli/contributor-file
Contributor file
2018-06-26 15:23:27 -05:00
Olivier Gagnon
7927e2bfe7 little more ts 2018-06-26 16:10:04 -04:00
danielyxie
219568d8af Fixing merge conflicts 2018-06-26 13:17:07 -05:00
danielyxie
9f6da01ea1
Merge pull request #342 from hydroflame/rm-all-dot-js
remove all .js from all appplicable imports
2018-06-26 12:42:49 -05:00
Olivier Gagnon
50a1e83b55 more .js wrongly removed 2018-06-26 13:38:55 -04:00
Olivier Gagnon
40b29ea3c0 woops, sed overkill 2018-06-26 13:27:57 -04:00
Olivier Gagnon
6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
danielyxie
b73680e80e
Merge pull request #341 from danielyxie/urgent-fixes
Adding description to SourceFile 7
2018-06-26 10:02:10 -05:00
danielyxie
f9943db71d Adding description to SourceFile 7 2018-06-26 09:59:44 -05:00
danielyxie
13dbd9f26c Merge PRs and fix issues 2018-06-26 09:49:28 -05:00
danielyxie
89ecb15b6f
Merge pull request #324 from hydroflame/hydroflame-convert-ts
first conversion
2018-06-25 20:02:40 -05:00
danielyxie
0343ba863b
Merge pull request #323 from hydroflame/fix-negative-security-growth
cap difficulty and fix negative security growth
2018-06-25 19:59:48 -05:00
danielyxie
368e42c6c3
Merge pull request #326 from kopelli/stylelint
Introduce Stylelint to the linting tool chain
2018-06-25 19:42:59 -05:00
danielyxie
60c308a28f
Merge pull request #321 from hydroflame/buy-aug-setting
moved the suppress buy aug confirmation to settings, will now persist
2018-06-25 19:42:17 -05:00
danielyxie
d2a1443960
Merge pull request #320 from hydroflame/move-tor-html
[SMALL] moved all tor-html related code to one place, hurray for decoupling
2018-06-25 19:40:59 -05:00
danielyxie
b2a24002ee
Merge pull request #266 from hydroflame/streamline-create-programs
Streamline create programs
2018-06-25 19:34:08 -05:00
danielyxie
dcb3fafc81
Merge pull request #336 from danielyxie/dev
v0.39.0
2018-06-25 14:11:18 -05:00
danielyxie
75ff10b5c2 Added documentation for Bladeburner API. Fixed typo in BN-7 description. 2018-06-25 14:07:03 -05:00
danielyxie
0b16a9f605 Removing dev mode. Updating changelog in documentation 2018-06-25 12:38:13 -05:00
danielyxie
ca15e689ef More rebalancing of Infiltration. Updating version to v0.39.0 2018-06-25 12:29:51 -05:00
danielyxie
6fe450a57b
Merge pull request #332 from kopelli/disable-no-inferrable-types
[chore] Disable "no-inferrable-types" lint rule
2018-06-24 22:30:03 -05:00
danielyxie
6193faa44a
Merge pull request #331 from hydroflame/format-fl1ght
Format fl1ght, fix #328
2018-06-24 22:29:49 -05:00
danielyxie
58753f9c89 Added Bladeburner functions and 'bladeburner' keyword to syntax highlighter for Netscript. Fixed a bug with bladeburner.getSkillLevel() Netscript fn 2018-06-24 22:07:05 -05:00
danielyxie
260598ee8a
Merge pull request #335 from danielyxie/rebalance-infiltration
Rebalanced infiltration by making base difficulty lower, slightly dec…
2018-06-24 21:51:33 -05:00
danielyxie
8c8574878c Rebalanced infiltration by making base difficulty lower, slightly decreasing the difficulty gain, and increasing money/exp rewards 2018-06-24 21:50:03 -05:00
Steven Evans
ab6b6ac8b9 Merge branch 'dev' into stylelint 2018-06-24 22:01:09 -04:00
Steven Evans
877432f3ac Merge branch 'dev' into eslint 2018-06-24 21:58:02 -04:00
Steven Evans
1857103511 [chore] Disable "no-inferrable-types" lint rule
After discussing the conflicting 'typedef' vs. 'no-inferrable-types'
TSLint rules (https://github.com/palantir/tslint/issues/711) in the
Discord #development channel, the conclusion was to disable this rule in
order to be uniform and explicit in what all declarations are. Although
it's more verbose, it will help us out in the long run.
2018-06-24 21:49:07 -04:00
Olivier Gagnon
c830f08081 format fl1ght money like the rest of the money 2018-06-24 21:08:40 -04:00
danielyxie
178066289e
Merge pull request #330 from danielyxie/bn-7
Implemented BN-7
2018-06-24 19:57:48 -05:00
Olivier Gagnon
1c9e6f5c26 linting stuff 2018-06-24 20:55:43 -04:00
danielyxie
22b64dcc4a Implemented BN-7 2018-06-24 19:13:50 -05:00
Steven Evans
8cbb832c0d [chore] Adding Stylelint
This is the baseline for Stylelint configuration. No violations exist
with the uncommented rules. The rules that are commented out at the
beginning of the line should be considered for enabling, as well as
fixing them up.
2018-06-22 23:02:12 -04:00
Steven Evans
52269759ec [chore] Adding ESLint
This is a baseline ESLint configuration, with *A LOT* of rules disabled.
All rules that are enabled already conform to the codebase. As code
clean up starts to happen, rules can be enabled one-by-one.
2018-06-22 22:28:59 -04:00
Olivier Gagnon
3af76f50ab
Merge branch 'dev' into streamline-create-programs 2018-06-22 20:48:26 -04:00
Olivier Gagnon
53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
danielyxie
343d474702
Merge pull request #318 from hydroflame/darkweb-autolink
added autolink to darkweb
2018-06-22 15:13:48 -05:00
danielyxie
5ad481893b
Merge pull request #322 from hydroflame/time-since-bitnode
added time since last bitnode timer
2018-06-22 15:13:03 -05:00
danielyxie
3a291cf4dd
Merge pull request #303 from kopelli/typescript
Add Typescript and TSLint to the tool chain
2018-06-22 15:11:49 -05:00
Olivier Gagnon
fbc9627344 cap difficulty and fix negative growth 2018-06-22 15:41:55 -04:00
danielyxie
aa17b02da7 Added var declaration in Netscript 1.0. Loops and conditionals no longer incur RAM cost, but base RAM cost increased from 1.4 to 1.6 GB 2018-06-22 14:39:15 -05:00
Olivier Gagnon
4f9ae82b4b added time since last bitnode timer 2018-06-22 15:38:25 -04:00
Olivier Gagnon
8f30a2246c using classList instead of setAttributes 2018-06-21 13:52:34 -04:00
Olivier Gagnon
15b0c11731 moved the suppress buy aug confirmation to settings, will now persist 2018-06-21 13:32:21 -04:00
Olivier Gagnon
9dc96c51cb moved all tor-html related code to one place, hurray for decoupling 2018-06-21 13:00:33 -04:00