forked from PrismarineJS/prismarine-web-client
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,640 additions
and
2,515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"extends": "zardoy", | ||
"rules": { | ||
"semi": [ | ||
"error", | ||
"never" | ||
], | ||
"indent": [ | ||
"error", | ||
2, | ||
{ | ||
"SwitchCase": 2, | ||
"ignoredNodes": [ | ||
"TemplateLiteral" | ||
] | ||
} | ||
], | ||
"quotes": [ | ||
"error", | ||
"single", | ||
{ | ||
"allowTemplateLiterals": true | ||
} | ||
], | ||
// perf | ||
"import/no-deprecated": "off", | ||
// --- | ||
"@typescript-eslint/prefer-nullish-coalescing": "off", | ||
"@typescript-eslint/naming-convention": "off", | ||
"prefer-template": "off", | ||
// intentional: improve readability in some cases | ||
"no-else-return": "off", | ||
"@typescript-eslint/padding-line-between-statements": "off", | ||
"arrow-body-style": "off", | ||
"unicorn/prefer-ternary": "off", | ||
"unicorn/switch-case-braces": "off", | ||
"@typescript-eslint/consistent-type-definitions": "off", | ||
"unicorn/explicit-length-check": "off", | ||
"unicorn/prefer-dom-node-append": "off", | ||
"typescript-eslint/no-confusing-void-expression": "off", | ||
"unicorn/no-lonely-if": "off", | ||
"no-multi-assign": "off", | ||
"sonarjs/no-duplicate-string": "off", | ||
"new-cap": "off", | ||
"unicorn/consistent-destructuring": "off", | ||
"unicorn/no-await-expression-member": "off", | ||
"unicorn/prefer-add-event-listener": "off", | ||
"unicorn/prefer-top-level-await": "off", | ||
"default-case": "off", | ||
// I guess it would better to fix | ||
"node/prefer-global/buffer": "off", | ||
"unicorn/prefer-optional-catch-binding": "off", // still useful for debugging | ||
"no-alert": "off", // todo once replaced with ui, enable | ||
"@typescript-eslint/restrict-plus-operands": "off", | ||
// --- | ||
"@typescript-eslint/no-throw-literal": "off", // disabling because of "rule expansion" | ||
"no-empty-function": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"import/no-extraneous-dependencies": "off", | ||
"@typescript-eslint/ban-types": "off", | ||
"unicorn/prefer-query-selector": "off", | ||
"@typescript-eslint/dot-notation": "off", // trick prop type-checking | ||
"@typescript-eslint/consistent-type-imports": "off", | ||
"no-negated-condition": "off", | ||
"@typescript-eslint/no-require-imports": "off", | ||
"unicorn/prefer-number-properties": "off", | ||
"@typescript-eslint/no-confusing-void-expression": "off", | ||
// needs to be fixed actually | ||
"@typescript-eslint/no-floating-promises": "warn", | ||
"no-async-promise-executor": "off", | ||
"no-bitwise": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,13 @@ jobs: | |
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | ||
# will install + build to .vercel/output/static | ||
- run: vercel build --token=${{ secrets.VERCEL_TOKEN }} --prod | ||
- run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --prod | ||
- run: pnpx zardoy-release node | ||
- name: Deploy Project to Vercel | ||
uses: mathiasvr/[email protected] | ||
with: | ||
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --prod | ||
id: deploy | ||
- run: | | ||
pnpx zardoy-release node --footer "This release URL: ${{ steps.deploy.outputs.stdout }}" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: cp vercel.json .vercel/output/static/vercel.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.