Skip to content

Commit

Permalink
Merge pull request #4 from atlp-rwanda/ft-login-#187419120
Browse files Browse the repository at this point in the history
#187419120 Users should be able to Login with Email and Password
  • Loading branch information
teerenzo authored Jun 13, 2024
2 parents a8a0113 + 7cea969 commit cb1d400
Show file tree
Hide file tree
Showing 30 changed files with 682 additions and 452 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_BASE_URL = https://eagles-ec-be-development.onrender.com/api/v1
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# jest
jest.config.*
jest.config.*
type.d.*
coverage
**/*.css
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,25 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.eslint.json",
tsconfigRootDir: __dirname,
tsconfigRootDir: __dirname
},
plugins: ["react-refresh"],
rules: {
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"no-param-reassign": "off",
"react/function-component-definition": [
"warn",
{
namedComponents: "arrow-function",
unnamedComponents: "arrow-function",
},
],
"no-console": "off",
"no-undef": "off",
"@typescript-eslint/ban-ts-comment": "off",
"react/no-unescaped-entities": "off",
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npm run test
3 changes: 2 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
"^.+\\.tsx?$": "ts-jest",
},
moduleNameMapper: {
"\\.(gif|ttf|eot|svg|png)$": "<rootDir>/test/__ mocks __/fileMock.js",
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)$': '<rootDir>/src/__test__/__mock__/fileMock.ts',
'\\.(css|less)$': 'identity-obj-proxy',
},
};
Loading

0 comments on commit cb1d400

Please sign in to comment.