dependabot[bot] bf5f89d22b Bump @typescript-eslint/eslint-plugin from 5.59.2 to 6.2.1 in /frontend (#243)
Bumps
[@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)
from 5.59.2 to 6.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v6.2.1</h2>
<h2><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1">6.2.1</a>
(2023-07-31)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-inferrable-types] apply also for
parameter properties (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7288">#7288</a>)
(<a
href="67f93b19f2">67f93b1</a>)</li>
<li><strong>scope-manager:</strong> correct decorators(.length) check in
ClassVisitor for methods (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7334">#7334</a>)
(<a
href="abbb6c2c6d">abbb6c2</a>)</li>
<li>yarn version not specified in monorepo (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7371">#7371</a>)
(<a
href="18f8d74cb9">18f8d74</a>)</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v6.2.0</h2>
<h1><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a>
(2023-07-24)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [member-ordering] account for
repeated names (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6864">#6864</a>)
(<a
href="d207b59e24">d207b59</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unsafe-enum-comparison] exempt
bit shift operators (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7074">#7074</a>)
(<a
href="b3e0e7571f">b3e0e75</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle
case when type of left side is null or undefined (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7225">#7225</a>)
(<a
href="b62affe8dd">b62affe</a>)</li>
<li><strong>eslint-plugin:</strong> use a default export for the rules
type (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7266">#7266</a>)
(<a
href="af77a1d33f">af77a1d</a>)</li>
<li><strong>typescript-estree:</strong> fix TSNode type error on old ts
versions (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7267">#7267</a>)
(<a
href="f2aed1bee1">f2aed1b</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [class-methods-use-this] add
extension rule (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6457">#6457</a>)
(<a
href="18ea3b1f89">18ea3b1</a>)</li>
<li><strong>eslint-plugin:</strong> sync getFunctionHeadLoc
implementation with upstream (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7260">#7260</a>)
(<a
href="f81314731c">f813147</a>)</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v6.1.0</h2>
<h1><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.0.0...v6.1.0">6.1.0</a>
(2023-07-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [comma-dangle] fixed crash from
undefined predicate.ignore (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7223">#7223</a>)
(<a
href="d368164478">d368164</a>)</li>
<li><strong>eslint-plugin:</strong> [no-floating-promises] false
negative calling .then with second argument undefined (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6881">#6881</a>)
(<a
href="606a52cefc">606a52c</a>),
closes <a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6850">#6850</a></li>
<li><strong>eslint-plugin:</strong> [no-floating-promises] finally
should be transparent to unhandled promises (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7092">#7092</a>)
(<a
href="2a4421ccf0">2a4421c</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-type-constraint]
correctly fix in cts/mts files (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6795">#6795</a>)
(<a
href="14047963d7">1404796</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unused-vars] check if any
variable definition is exported (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6873">#6873</a>)
(<a
href="587ac306d9">587ac30</a>),
closes <a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6188">#6188</a></li>
<li><strong>eslint-plugin:</strong> fix schemas across several rules and
add schema tests (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6947">#6947</a>)
(<a
href="dd31bed1e9">dd31bed</a>)</li>
<li><strong>eslint-plugin:</strong> include the rules types in the
package (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7215">#7215</a>)
(<a
href="a3da11d09b">a3da11d</a>)</li>
<li><strong>typescript-estree:</strong> remove ts.sys watch program
override (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7252">#7252</a>)
(<a
href="41d6e9d6c0">41d6e9d</a>)</li>
<li><strong>utils:</strong> accept null as default option in
<code>applyDefault</code> (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6724">#6724</a>)
(<a
href="841889f6bb">841889f</a>)</li>
</ul>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1">6.2.1</a>
(2023-07-31)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-inferrable-types] apply also for
parameter properties (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7288">#7288</a>)
(<a
href="67f93b19f2">67f93b1</a>)</li>
<li><strong>scope-manager:</strong> correct decorators(.length) check in
ClassVisitor for methods (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7334">#7334</a>)
(<a
href="abbb6c2c6d">abbb6c2</a>)</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h1><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.1.0...v6.2.0">6.2.0</a>
(2023-07-24)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [member-ordering] account for
repeated names (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6864">#6864</a>)
(<a
href="d207b59e24">d207b59</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unsafe-enum-comparison] exempt
bit shift operators (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7074">#7074</a>)
(<a
href="b3e0e7571f">b3e0e75</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle
case when type of left side is null or undefined (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7225">#7225</a>)
(<a
href="b62affe8dd">b62affe</a>)</li>
<li><strong>eslint-plugin:</strong> use a default export for the rules
type (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7266">#7266</a>)
(<a
href="af77a1d33f">af77a1d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [class-methods-use-this] add
extension rule (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6457">#6457</a>)
(<a
href="18ea3b1f89">18ea3b1</a>)</li>
<li><strong>eslint-plugin:</strong> sync getFunctionHeadLoc
implementation with upstream (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7260">#7260</a>)
(<a
href="f81314731c">f813147</a>)</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h1><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.0.0...v6.1.0">6.1.0</a>
(2023-07-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [comma-dangle] fixed crash from
undefined predicate.ignore (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7223">#7223</a>)
(<a
href="d368164478">d368164</a>)</li>
<li><strong>eslint-plugin:</strong> [no-floating-promises] false
negative calling .then with second argument undefined (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6881">#6881</a>)
(<a
href="606a52cefc">606a52c</a>),
closes <a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6850">#6850</a></li>
<li><strong>eslint-plugin:</strong> [no-floating-promises] finally
should be transparent to unhandled promises (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7092">#7092</a>)
(<a
href="2a4421ccf0">2a4421c</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-type-constraint]
correctly fix in cts/mts files (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6795">#6795</a>)
(<a
href="14047963d7">1404796</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unused-vars] check if any
variable definition is exported (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6873">#6873</a>)
(<a
href="587ac306d9">587ac30</a>),
closes <a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6188">#6188</a></li>
<li><strong>eslint-plugin:</strong> fix schemas across several rules and
add schema tests (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6947">#6947</a>)
(<a
href="dd31bed1e9">dd31bed</a>)</li>
<li><strong>eslint-plugin:</strong> include the rules types in the
package (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7215">#7215</a>)
(<a
href="a3da11d09b">a3da11d</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="948b061462"><code>948b061</code></a>
chore: publish v6.2.1</li>
<li><a
href="03df26d6d3"><code>03df26d</code></a>
docs: explain no-unused-vars advantages over TypeScript (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7347">#7347</a>)</li>
<li><a
href="abbb6c2c6d"><code>abbb6c2</code></a>
fix(scope-manager): correct decorators(.length) check in ClassVisitor
for met...</li>
<li><a
href="67f93b19f2"><code>67f93b1</code></a>
fix(eslint-plugin): [no-inferrable-types] apply also for parameter
properties...</li>
<li><a
href="6addee9b4e"><code>6addee9</code></a>
docs: remove unnecessary Examples headings from extension rule docs (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7345">#7345</a>)</li>
<li><a
href="1b8e0bc602"><code>1b8e0bc</code></a>
chore: enabled no-else-return internally (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7340">#7340</a>)</li>
<li><a
href="a56af12b83"><code>a56af12</code></a>
chore(deps): update dependency <code>@​eslint-community/regexpp</code>
to v4.6.0 (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7311">#7311</a>)</li>
<li><a
href="695b9b40ed"><code>695b9b4</code></a>
docs: add await keyword in correct example of no-floating-promises.md
(<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7302">#7302</a>)</li>
<li><a
href="c869aa1792"><code>c869aa1</code></a>
chore: publish v6.2.0</li>
<li><a
href="af77a1d33f"><code>af77a1d</code></a>
fix(eslint-plugin): use a default export for the rules type (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7266">#7266</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.1/packages/eslint-plugin">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/eslint-plugin&package-manager=npm_and_yarn&previous-version=5.59.2&new-version=6.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 07:56:38 +02:00
2023-08-05 16:07:27 +02:00
2023-01-21 15:56:48 +01:00
2023-01-22 16:28:26 +01:00

Favicon of Bracket

Bracket

codecov backend frontend last commit release


Warning

This project is still under construction and considered beta software. Release v1.0.0 will be the first out-of-beta release.

Ladder tournament system meant to be easy to use. Bracket is written in async Python (with FastAPI) and Next.js as frontend using the Mantine library.

Preview

Setup

Database

First create a bracket cluster:

sudo pg_createcluster -u postgres -p 5532 13 bracket
pg_ctlcluster 13 bracket start

Subsequently, create a new bracket_dev database:

sudo -Hu postgres psql  -p 5532
CREATE USER bracket_dev WITH PASSWORD 'bracket_dev';
CREATE DATABASE bracket_dev OWNER bracket_dev;

You can do the same but replace the user and database name with:

  • bracket_ci: for running tests
  • bracket_prod: for a production database

The database URL can be specified per environment in the .env files (see config).

Config

Copy ci.env to prod.env and fill in the values:

  • PG_DSN: The URL of the PostgreSQL database
  • JWT_SECRET: Create a random secret using openssl rand -hex 32
  • CORS_ORIGINS and CORS_ORIGIN_REGEX: Specify allowed frontend domain names for CORS (see the FastAPI docs)
  • ADMIN_EMAIL and ADMIN_PASSWORD: The credentials of the admin user, which is created when initializing the database

Running the frontend and backend

The following starts the frontend and backend for local development:

Frontend

cd frontend
yarn
npm run dev

Backend

cd backend
pipenv install -d
pipenv shell
./run.sh
Description
No description provided
Readme AGPL-3.0 37 MiB
Languages
TypeScript 51.1%
Python 47.6%
CSS 0.8%
Dockerfile 0.2%