Skip to content

Commit

Permalink
[Booster] Milestone 0: Project preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertoledo committed Mar 30, 2023
1 parent 2513803 commit 19dff43
Show file tree
Hide file tree
Showing 11 changed files with 16,142 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/node_modules/*
**/dist/*
kyc-nest/kyc-nest.sqlite
kyc-nest/kyc-nest.sqlite
kyc-booster/.booster/*
kyc-booster/errors.log
3 changes: 3 additions & 0 deletions kyc-booster/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
lib
node_modules
49 changes: 49 additions & 0 deletions kyc-booster/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
module.exports = {
root: true,
env: {
node: true,
es6: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
project: 'tsconfig.eslint.json',
},
rules: {
indent: ['error', 2, { SwitchCase: 1 }],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false }],
semi: ['error', 'never'],
'no-extra-parens': 'off',
'@typescript-eslint/no-extra-parens': ['error'],
'no-magic-numbers': 'off',
'@typescript-eslint/no-parameter-properties': 0,
'@typescript-eslint/no-floating-promises': ['error'],
'@typescript-eslint/array-type': [0, 'generic'],
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/ban-ts-ignore': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/explicit-function-return-type': [
'warn',
{
allowExpressions: true,
allowTypedFunctionExpressions: true,
allowHigherOrderFunctions: true,
},
],
},
}
9 changes: 9 additions & 0 deletions kyc-booster/.prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tabWidth: 2
useTabs: false
semi: false
singleQuote: true
quoteProps: 'as-needed'
trailingComma: 'es5'
bracketSpacing: true
arrowParens: always
printWidth: 120
13 changes: 13 additions & 0 deletions kyc-booster/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# KYC-Booster

## install dependencies

```bash
npm install
```

## Run the development server

```bash
boost start -e local --verbose
```
Loading

0 comments on commit 19dff43

Please sign in to comment.