Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: changed logger to consolelog removed processexit #1

Merged
merged 6 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .eslintrc.js

This file was deleted.

75 changes: 75 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
root: true

parser: '@typescript-eslint/parser'
parserOptions:
project: ['./tsconfig.json']
ecmaVersion: 2021

extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- airbnb-base
- plugin:prettier/recommended
- prettier
- plugin:import/recommended
- plugin:import/errors
- plugin:import/warnings
- plugin:import/typescript
- plugin:chai-friendly/recommended

plugins:
- import
- prettier
- '@typescript-eslint'

settings:
import/resolver:
node:
extensions: ['.ts']

env:
es6: true
mocha: true
node: true

rules:
'@typescript-eslint/ban-ts-comment': off
# disabled until https://github.com/typescript-eslint/typescript-eslint/issues/2077#issuecomment-634811363:
# '@typescript-eslint/camelcase': warn
'@typescript-eslint/member-delimiter-style': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/explicit-function-return-type': off
'@typescript-eslint/no-unsafe-assignment': off
'@typescript-eslint/no-unsafe-member-access': off
'@typescript-eslint/no-unsafe-return': off
'@typescript-eslint/no-unused-vars': off
'@typescript-eslint/no-use-before-define': off
# this next line is disabling all the warnings about non typed stuff:
# '@typescript-eslint/explicit-module-boundary-types': off
'@typescript-eslint/restrict-template-expressions': off
'@typescript-eslint/no-unsafe-call': off
'@typescript-eslint/no-non-null-assertion': off
'@typescript-eslint/no-floating-promises': off
'@typescript-eslint/no-shadow': error
func-names: 'off'
import/no-extraneous-dependencies: off
import/extensions: off
import/prefer-default-export: off
eol-last: ['error', 'always']
no-shadow: 'off'
no-unused-vars: warn
prefer-destructuring: error
no-use-before-define: 'off'
no-console: 'off'
object-shorthand: error
no-debugger: error
no-param-reassign:
- error
- props: true
ignorePropertyModificationsFor: [memo]
no-plusplus:
- 2
- allowForLoopAfterthoughts: true
95 changes: 12 additions & 83 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig

# Created by https://www.gitignore.io/api/node,visualstudiocode
# Edit at https://www.gitignore.io/?templates=node,visualstudiocode

### Node ###
# Logs
logs
# Logs & traces
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand All @@ -28,30 +8,8 @@ lib-cov
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm
Expand All @@ -65,49 +23,20 @@ typings/
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity
# env + secrets file
.env*
!.env.sample
!.env.ca.letsencrypt-staging

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/
# build / generate output
dist

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# caches
.cache/

### VisualStudioCode Patch ###
# Ignore all local history of files
# History
.history

# End of https://www.gitignore.io/api/node,visualstudiocode
kms.json*

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

.npmrc
dist
yarn.lock
.idea
Loading
Loading