-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add eslint * add eslint * add eslint * add eslint * fix eslint errors * remove lock file * fix eslint errors * Change date schema to be compatible with ortto schema * Fix unit test based on changes * Fix lint errors * Fix lint errors * change main-pipeline * feat: change GivethNotificationTypes seed * fix: remove brake line * change Dockerfile * change Dockerfile to use yarn * remove userId from notify reward amount ortto request * add email to payload for notify reward * Fix tests for notify reward * fix: create migration to change givbacks notification * Change scripts to use ts-node for running migrations * Add tsconfig-paths module to application * ensure dataSource initialize before running migrations * Update packages * Use the previous version of ts * Allow ts to resolve json modules * Run pretest scripts before test migrations * Make pretest scripts stand alone * Revert changes on pre-test-scripts.ts * remove pre-test-scripts from migration commands * downgrade typeorm version to fix migration execution * run migrations using scripts * Upgrade typeorm version again * add create test database step to the staging-pipeline.yml * add wait for database step to the staging-pipeline.yml * change database port in the staging-pipeline.yml * change database name in the staging-pipeline.yml and remove redundant steps * change database name in the main-pipeline.yml * add migration for create Qacc third party * support Qacc on Ortto * Add Qacc to microServices --------- Co-authored-by: Ramin <raminramazanpour@gmail.com> Co-authored-by: ali ebrahimi <aliebrahimi2079@gmail.com> Co-authored-by: Reshzera <reoshiro13@gmail.com> Co-authored-by: Ali Ebrahimi <65724329+ae2079@users.noreply.github.com> Co-authored-by: Rafael E. Oshiro <46092730+Reshzera@users.noreply.github.com> Co-authored-by: Amin Latifi <a.latifi.al@gmail.com>
- Loading branch information
1 parent
f6e4fe6
commit 6ae372d
Showing
61 changed files
with
8,378 additions
and
18,904 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 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 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 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,76 @@ | ||
import path from 'node:path'; | ||
import { fileURLToPath } from 'node:url'; | ||
import _import from 'eslint-plugin-import'; | ||
import unusedImports from 'eslint-plugin-unused-imports'; | ||
import { fixupPluginRules } from '@eslint/compat'; | ||
import tsParser from '@typescript-eslint/parser'; | ||
import js from '@eslint/js'; | ||
import { FlatCompat } from '@eslint/eslintrc'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
|
||
export default [ | ||
{ | ||
ignores: ['node_modules/*', 'dist/*'], | ||
}, | ||
...compat.extends( | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:prettier/recommended', | ||
), | ||
{ | ||
plugins: { | ||
import: fixupPluginRules(_import), | ||
'unused-imports': unusedImports, | ||
}, | ||
|
||
languageOptions: { | ||
parser: tsParser, | ||
}, | ||
|
||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'unused-imports/no-unused-imports': 'error', | ||
'@typescript-eslint/no-unused-vars': [ | ||
'error', | ||
{ | ||
argsIgnorePattern: '^_', | ||
}, | ||
], | ||
|
||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
arrowParens: 'avoid', | ||
singleQuote: true, | ||
semi: true, | ||
tabWidth: 2, | ||
useTabs: false, | ||
trailingComma: 'all', | ||
'jsdoc-format': false, | ||
endOfLine: 'auto', | ||
}, | ||
], | ||
|
||
'import/order': [ | ||
'error', | ||
{ | ||
groups: [ | ||
'builtin', | ||
'external', | ||
['internal', 'parent', 'sibling'], | ||
'index', | ||
'object', | ||
'type', | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
]; |
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 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 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 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 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
Oops, something went wrong.