Skip to content

Commit

Permalink
feat: sync staging → main
Browse files Browse the repository at this point in the history
Signed-off-by: Griko Nibras <[email protected]>
  • Loading branch information
grikomsn committed Jan 19, 2024
2 parents b41d76a + 72a2308 commit cce6997
Show file tree
Hide file tree
Showing 101 changed files with 8,698 additions and 9,254 deletions.
43 changes: 43 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// @ts-check

/**
* @type {import("eslint").Linter.Config}
* @see https://eslint.org/docs/latest/use/configure/
*/
const eslintConfig = {
extends: [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@tanstack/eslint-plugin-query/recommended",
"plugin:prettier/recommended",
],
plugins: ["simple-import-sort"],
rules: {
"@next/next/no-img-element": "off",
"simple-import-sort/exports": "warn",
"simple-import-sort/imports": "warn",
},
ignorePatterns: ["node_modules/", ".next/", "out/", "src/chains/*"],
overrides: [
{
files: ["*.ts", "*.tsx"],
extends: ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
rules: {
"@typescript-eslint/ban-types": [
"error",
{
types: {
// un-ban a type that's banned by default
"{}": false,
},
extendDefaults: true,
},
],
},
},
],
root: true,
};
module.exports = eslintConfig;
39 changes: 0 additions & 39 deletions .eslintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion chain-registry
1 change: 1 addition & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ declare namespace NodeJS {
interface ProcessEnv {
readonly APP_URL?: string;
readonly NEXT_PUBLIC_API_URL?: string;
readonly NEXT_PUBLIC_CLIENT_ID?: string;

readonly POLKACHU_USER?: string;
readonly POLKACHU_PASSWORD?: string;
Expand Down
Loading

1 comment on commit cce6997

@vercel
Copy link

@vercel vercel bot commented on cce6997 Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.