You've already forked FullScreenPokemon
mirror of
https://github.com/FullScreenShenanigans/FullScreenPokemon.git
synced 2026-04-28 12:58:40 -07:00
90646a8b16
* Started moving components to gulp-shenanigans This is a first round of refactoring. All non-reset functions in `FullScreenPokemon.ts` have been moved to dedicated classes, though many haven't had the references updated. * Brought in .files, BattleMovr, MenuGraphr * Fixed up imported files for tslint * Fixed test dependencies to run * Added settings files to compilation * Added necessary prototypes in FSP.ts * Converted settings classes to Generate* functions This way, `src\FullScreenPokemon.ts` can decide when to call the generators. It does so immediately after defining the `FullScreenPokemon` class and its prototype values. * Refactored settings into generators This fixes most scoping issues with settings files. Note that a few modules have local updates that will need to be pushed for this to build successfully. * Fixed scoping for menus * Removed Function::bind usages No more! * Fleshed out html build settings lib\index.html works now * Fixed reference issues with MapScreenr's variables They're no longer direct members of MapScreenr itself, but rather of its `variables` member. * Bump gulp-shenanigans to 0.4.0 * Fixed some case sensitivity * Fixed some more case sensitivity * Fixed case sensitivity for main settings * Bump gulp-shenanigans to 0.4.1 * Added and removed logs in src/main.ts (#296) * Added test logs to main.ts * Removed src/main.ts logs * Moved sounds into the correct src\ directory These were pulled in from master but not moved accordingly. * Fixed new tslint errors from gulp-shenanigans From updating to a newer tslint.json with the setup task, the more strict rules are now being violated. * Bumped gulp-shenanigans to 0.4.2 * Bump gulp-shenanigans to 0.4.3 * Onboarded shenanigans.json The biggest change is that LevelEditr and UserWrappr are no longer pre-packaged with GameStartr. They're now separately defined in FSP. * Brought in recent module updates Also fixed some scoping issues with battles. * Fixed the pause menu to open on pause buttons Previously they were calling the GamesRunnr pause functions, which aren't what was intended. * Bumped UserWrappr to 0.5.4 * Fixed onload listeners in src\main.ts (#300) * Added test throw for body innerHTML * Put main.ts logic behind a load event * Removed remaining main.ts throw * Moved require logic out of onload in main.ts * Fix load listener placement * Bumped MapsCreatr to 0.5.3 Fixed scoping issues with macros * Removed LevelEditor reference from Storage.ts Since LevelEditor is no longer defined on FSP, saving a game can't use its beautification function * Changed saving dialog to delete all menus when done * Fixed TimeHandlr scope issues for battle cutscenes
109 lines
3.0 KiB
JSON
109 lines
3.0 KiB
JSON
{
|
|
"rules": {
|
|
"align": [
|
|
true,
|
|
"parameters",
|
|
"arguments",
|
|
"statements"
|
|
],
|
|
"class-name": true,
|
|
"comment-format": [true, "check-space"],
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": true,
|
|
"indent": [true, 4],
|
|
"interface-name": [true, "always-prefix"],
|
|
"jsdoc-format": true,
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"max-line-length": [true, 140],
|
|
"member-access": true,
|
|
"member-ordering": [
|
|
true,
|
|
"public-before-private",
|
|
"static-before-instance",
|
|
"variables-before-functions"
|
|
],
|
|
"new-parens": true,
|
|
"no-angle-bracket-type-assertion": true,
|
|
"no-arg": true,
|
|
"no-conditional-assignment": true,
|
|
"no-consecutive-blank-lines": true,
|
|
"no-console": [
|
|
true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-constructor-vars": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-internal-module": true,
|
|
"no-null-keyword": true,
|
|
"no-shadowed-variable": true,
|
|
"no-string-literal": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unreachable": true,
|
|
"no-unsafe-finally": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": true,
|
|
"no-unused-new": true,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"no-var-requires": true,
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-else",
|
|
"check-finally",
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"one-variable-per-declaration": true,
|
|
"ordered-imports": true,
|
|
"quotemark": [true, "double"],
|
|
"semicolon": [true, "always"],
|
|
"switch-default": true,
|
|
"trailing-comma": true,
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"typedef": [
|
|
true,
|
|
"call-signature",
|
|
"parameter",
|
|
"property-declaration",
|
|
"variable-declaration",
|
|
"member-variable-declaration"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"use-isnan": true,
|
|
"use-strict": [
|
|
true,
|
|
"check-module",
|
|
"check-function"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
} |