Skip to content

Commit

Permalink
feat: add token auth
Browse files Browse the repository at this point in the history
  • Loading branch information
saisilinus committed Dec 21, 2021
1 parent eea36d4 commit 5a3597c
Show file tree
Hide file tree
Showing 57 changed files with 151 additions and 2,234 deletions.
26 changes: 21 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"node": true,
"jest": true
},
"extends": ["airbnb-base", "airbnb-typescript/base", "plugin:jest/recommended", "plugin:security/recommended", "plugin:prettier/recommended"],
"plugins": ["jest", "security", "prettier", "@typescript-eslint"],
"extends": ["airbnb-base", "plugin:jest/recommended", "plugin:security/recommended", "plugin:prettier/recommended"],
"plugins": ["jest", "security", "prettier"],
"parserOptions": {
"ecmaVersion": 2018,
"project": ["./tsconfig.json", "./src/tsconfig.json"]
"ecmaVersion": 2018
},
"rules": {
"no-console": "error",
Expand All @@ -17,5 +16,22 @@
"jest/expect-expect": "off",
"security/detect-object-injection": "off"
},
"parser": "@typescript-eslint/parser"
"overrides": [
{
"files":["src/**/*.ts"],
"extends": ["airbnb-base", "airbnb-typescript/base", "plugin:prettier/recommended"],
"plugins": ["@typescript-eslint", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"project": ["./tsconfig.json", "./src/tsconfig.json"]
},
"rules": {
"no-console": "error",
"func-names": "off",
"no-underscore-dangle": "off",
"consistent-return": "off"
}
}
]
}
76 changes: 0 additions & 76 deletions dist/Auth/auth.controller.js

This file was deleted.

0 comments on commit 5a3597c

Please sign in to comment.