Skip to content

Commit

Permalink
what de hell
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-ao committed Jul 24, 2024
1 parent c822d6e commit e7d1bc6
Show file tree
Hide file tree
Showing 6 changed files with 549 additions and 439 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": ["react", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"rules": {
"react/react-in-jsx-scope": "off"
}
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/algorithm.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
on:
push:
paths:
paths:
- "algorithm/*"
pull_request:
paths:
paths:
- "algorithm/*"
workflow_dispatch:

jobs:
test:
runs-on: "ubuntu-latest"

strategy:
matrix:
python-version: ["3.12"]
Expand All @@ -19,8 +19,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.12'

- name: Install mip_matching
run: |
cd algorithm
Expand All @@ -30,4 +30,3 @@ jobs:
run: |
cd algorithm
python -m unittest discover -p "*test.py"
1 change: 1 addition & 0 deletions lib/mongo/mongodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let client: MongoClient = new MongoClient(URI, options);
let clientPromise: Promise<MongoClient>;

declare global {
// eslint-disable-next-line no-unused-vars
var _mongoClientPromise: Promise<MongoClient>;
}

Expand Down
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** @type {import('next').NextConfig} */
// eslint-disable-next-line no-unused-vars
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
Expand Down
Loading

0 comments on commit e7d1bc6

Please sign in to comment.