Commit Graph

32 Commits

Author SHA1 Message Date
Skillz
691eb1e8ea why on earth is this needed change 2023-01-05 13:41:02 -06:00
deepsarda
3240c2104e Add lint checks and autofixing workflow (#2702)
* Add lint checks and autofixing workflow

* Update lint.yml

* Fix: use yarn instead npm

* fix: add ts to eslint_extensions

* fix: update dir

* fix: lint.yml format

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
2023-01-04 10:11:20 -06:00
Skillz4Killz
dfe9982f07 deno lint bad 2021-09-16 19:26:57 +00:00
ITOH
c2763f9a72 remove: unused fmt script 2021-05-21 18:31:50 +02:00
ITOH
571017e39d try this out 2021-05-21 17:20:20 +02:00
rigormorrtiss
151159c499 ci(lint): remove ignore flag 2021-05-16 11:14:07 +04:00
rigormorrtiss
6e7a7efd1b ci(lint): remove unstable flag (#933) 2021-05-13 10:33:40 +04:00
ITOH
98bf292aff fix lint 2021-04-15 18:06:31 +02:00
ayntee
b92c94bc2d ci(deploy): use add-and-commit 2021-04-14 18:16:20 +04:00
ayntee
25bdc36904 ci(deploy): handle no changes error 2021-04-13 10:23:38 +04:00
ayntee
df9476559f ci(lint): enable "allow empty commit" 2021-04-13 10:12:16 +04:00
ayntee
405f362ec9 ci(deploy): fix syntax error 2021-04-13 10:04:58 +04:00
ayntee
6ef274c036 ci(lint): use github context instead 2021-04-13 10:03:15 +04:00
ayntee
832cc20742 ci(lint): define env explicitly 2021-04-13 09:58:49 +04:00
ayntee
11d243ad0a ci(lint): "auto-format" the files and push the changes 2021-04-12 19:00:21 +04:00
ayntee
5802a9d1ca fix(types/interactions): make "content" optional in SlashCommandCallbackData (#599)
* fix(types/interactions): make "content" optional in SlashCommandCallbackData'

Closes #590

* ignore lint
2021-03-06 22:16:02 +04:00
Skillz4Killz
99ed2c2edb feat(types): add and detach API types (#510)
* feat: add guidelines

* Camelize

* feat: add DiscordUser

* add Discord prefix

* feat: webhook types

* add integration typings

* add new errors and alphabetize

* Add channel types

* feat: add DiscordOverwrite

* feat: webhook typings

* feat: role typings

* fix name

* feat: integration types

* feat: mod.ts for types

* feat: add auditlog types

* feat: teams typings

* feat: add base user interface

* feat: image typings

* enable more mod.ts

* feat: add emoji typings

* channel typings

* embed types

* cleanup embed

* add emoji types

* add more member types

* feat: add message types

* add more to mod.ts

* fix name

* feat: add codes

* feat: add guild types

* feat: add integration types

* add more to mod.ts

* feat: add interaction types

* feat: add voice types

* add more to mod.ts

* feat: add gateway, events

* feat: add invite types

* add to mod ts

* feat: add template types

* feat: add rate limits types

* apply fixes

* deno fmt

* deno fmt

* fix: oauth snake case

* fix: oauth name

* fix: add back and ignore deno fmt

* fix: discord voice snake case

* fix: util fmt

* fix names and fmt

* fix: auditlog types

* lint: shut up in types

* fix: no longer needed

* test

* fix import

* fix missing error

* fix error
2021-02-10 20:02:12 +04:00
Ayyan
7cd4fda3f4 feat(controllers): add INTEGRATION* gateway events (#459)
* feat(controllers): add INTEGRATION* gateway events

* suggestions

* forgive me, i am forgetful :P

* Update src/types/options.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-01-26 18:32:43 +04:00
ayntee
0ed7420e01 ci(lint): run workflow for test directory 2021-01-26 12:56:27 +04:00
ayntee
bcc7e1f631 ci: remove indentation* 2021-01-26 12:06:45 +04:00
ayntee
dc6e96f5f8 Intend :) 2021-01-26 12:04:55 +04:00
Ayyan
b164d0bf4f ci: add matrix testing (#471)
* ci: add matrix testing

* idk
2021-01-26 12:03:19 +04:00
ayntee
19c7e3b4e0 ci(test): add fmt check script 2021-01-20 23:29:59 +04:00
ayntee
92719a1a8c ci(lint): add fmt check step 2021-01-20 22:20:36 +04:00
Ayyan
ae99819c22 ci: run workflow on push to master (#391) 2021-01-15 21:20:42 +04:00
Ayyan
e5a8f3b358 chore: setup "deno lint" (#331)
* chore: setup "deno lint"

* ci(lint): add --unstable flat to lint script

* lint

* lint

* refactor: destructure assignment for Message#guildID

* chore: remove TODO comment

* refactor: remove redundant async

* chore: switch to Deno stable vscode ext

* chore: remove ignore comments

* chore: remove ignore comments

* chore: remove @ts-ignore comment

* fixes

* fixes

* chore: remove deno-lint-ignore comment

* chore: add index signature
2021-01-03 20:12:42 +04:00
ayntee
13cce6bf4f ci: add mod.ts, tests directory to paths 2021-01-01 14:27:12 +04:00
Ayyan
c346bd5eae ci: trigger workflow only when certain files are modified (#316) 2021-01-01 14:24:24 +04:00
Ayyan
17720a4e46 ci: use setup-deno@v2 (#305) 2020-12-31 11:41:33 +04:00
Ayyan
cfa8d25df2 chore: run CI on push, pull_request & do not run deno cache (#266)
* chore: remove deno cache from "Lint" workflow

* chore: run "Lint" workflow on push and pull_request
2020-12-19 22:44:42 +04:00
ayntee
c866d127a9 Idk 2020-11-13 13:10:44 +04:00
ayntee
0ea9dbc7c4 deno.yml -> lint.yml 2020-11-12 23:31:25 +04:00