-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2b7e27
commit 1bcd510
Showing
59 changed files
with
1,661 additions
and
1,728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import tsPlugin from '@typescript-eslint/eslint-plugin' | ||
import tsParser from '@typescript-eslint/parser' | ||
import recommendedConfig from 'eslint-plugin-prettier/recommended' | ||
import globals from 'globals' | ||
|
||
export default [ | ||
{ | ||
ignores: ['node_modules/', 'build/'], | ||
}, | ||
{ | ||
files: ['src/**/*.ts', 'test/**/*.ts'], | ||
languageOptions: { | ||
parser: tsParser, | ||
globals: { | ||
...globals.node, | ||
...globals.jest, | ||
}, | ||
}, | ||
plugins: { | ||
'@typescript-eslint': tsPlugin, | ||
}, | ||
rules: { | ||
...tsPlugin.configs.recommended.rules, | ||
'no-console': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/ban-types': 'off', | ||
'@typescript-eslint/no-unused-vars': [ | ||
'warn', | ||
{ | ||
args: 'all', | ||
argsIgnorePattern: '^_', | ||
caughtErrors: 'all', | ||
caughtErrorsIgnorePattern: '^_', | ||
destructuredArrayIgnorePattern: '^_', | ||
varsIgnorePattern: '^_', | ||
ignoreRestSiblings: true, | ||
}, | ||
], | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'@typescript-eslint/ban-ts-comment': 'off', | ||
'no-negated-condition': 'error', | ||
}, | ||
}, | ||
recommendedConfig, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"build": "tsc", | ||
"build:docker": "docker build -t fleetbot -f docker/app/Dockerfile .", | ||
"db:migrate": "npm run typeorm -- migration:run", | ||
"lint": "eslint --ext .ts .", | ||
"lint": "eslint .", | ||
"lint:docker": "docker run --rm -i hadolint/hadolint < cicd/docker/app/Dockerfile", | ||
"lint:yaml": "yamllint .", | ||
"clean": "rm -rf build", | ||
|
@@ -26,58 +26,59 @@ | |
"homepage": "https://github.com/mindrunner/fleetbot#readme", | ||
"dependencies": { | ||
"@coral-xyz/anchor": "^0.29.0", | ||
"@faker-js/faker": "^8.4.1", | ||
"@faker-js/faker": "^9.0.3", | ||
"@sentry/integrations": "^7.114.0", | ||
"@sentry/node": "^8.11.0", | ||
"@sentry/node": "^8.34.0", | ||
"@sentry/tracing": "^7.114.0", | ||
"@solana/spl-token": "^0.4.8", | ||
"@solana/web3.js": "^1.95.3", | ||
"@staratlas/atlas-prime": "^0.13.1", | ||
"@staratlas/cargo": "^1.1.0", | ||
"@staratlas/claim-stake": "^0.11.6", | ||
"@staratlas/claim-stake": "^0.12.0", | ||
"@staratlas/crafting": "^1.1.0", | ||
"@staratlas/data-source": "^0.8.0", | ||
"@staratlas/factory": "^0.7.0", | ||
"@staratlas/player-profile": "^0.9.1", | ||
"@staratlas/points": "^1.0.5", | ||
"@staratlas/profile-faction": "^0.4.1", | ||
"@staratlas/data-source": "^0.8.1", | ||
"@staratlas/factory": "^0.7.1", | ||
"@staratlas/player-profile": "^0.11.0", | ||
"@staratlas/points": "^1.1.0", | ||
"@staratlas/profile-faction": "^0.6.0", | ||
"@staratlas/sage": "^1.4.0", | ||
"big.js": "^6.2.1", | ||
"big.js": "^6.2.2", | ||
"bip39": "^3.1.0", | ||
"bn.js": "^5.2.1", | ||
"bs58": "^5.0.0", | ||
"bs58": "^6.0.0", | ||
"chance": "^1.1.12", | ||
"cron": "^3.1.7", | ||
"dayjs": "^1.11.11", | ||
"dayjs": "^1.11.13", | ||
"dotenv": "^16.4.5", | ||
"ed25519-hd-key": "^1.3.0", | ||
"pg": "^8.11.5", | ||
"pg": "^8.13.0", | ||
"pretty-error": "^4.0.0", | ||
"superagent": "^9.0.2", | ||
"superagent": "^10.1.0", | ||
"telegraf": "^4.16.3", | ||
"typeorm": "^0.3.20", | ||
"undici": "^6.19.2", | ||
"winston": "^3.13.0" | ||
"undici": "^6.20.0", | ||
"winston": "^3.15.0" | ||
}, | ||
"devDependencies": { | ||
"@types/big.js": "^6.2.2", | ||
"@types/bn.js": "^5.1.5", | ||
"@types/chance": "^1.1.6", | ||
"@types/bn.js": "^5.1.6", | ||
"@types/bs58": "^4.0.4", | ||
"@types/pg": "^8.11.6", | ||
"@types/superagent": "^8.1.7", | ||
"@typescript-eslint/eslint-plugin": "^7.13.1", | ||
"@typescript-eslint/parser": "^7.13.1", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-filenames": "^1.3.2", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-promise": "^6.2.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"@types/chance": "^1.1.6", | ||
"@types/pg": "^8.11.10", | ||
"@types/superagent": "^8.1.9", | ||
"@typescript-eslint/eslint-plugin": "^8.8.1", | ||
"@typescript-eslint/parser": "^8.8.1", | ||
"eslint": "^9.12.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"prettier": "^3.2.5", | ||
"ts-jest": "^29.1.5", | ||
"eslint-plugin-filenames": "^1.3.2", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-promise": "^7.1.0", | ||
"globals": "^15.11.0", | ||
"prettier": "^3.3.3", | ||
"ts-jest": "^29.2.5", | ||
"ts-node-dev": "^2.0.0", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.6.3" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.