Skip to content

Commit

Permalink
Compile lint test all passes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Dec 2, 2023
1 parent 48b173a commit 5cea940
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 12 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
.obsidian/

docs/venice.oas.json
dist/
9 changes: 1 addition & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"parserOptions": {"ecmaVersion": "latest"},
"root": true,
"settings": {},
"plugins": ["codegen", "eslint-comments", "promise", "unicorn"],
Expand All @@ -12,18 +13,10 @@
"prefer-const": "warn",
"quotes": ["warn", "single", {"avoidEscape": true}],
"codegen/codegen": "warn",
"import/no-unresolved": "error",
"eslint-comments/disable-enable-pair": "off",
"eslint-comments/no-unlimited-disable": "off",
"eslint-comments/no-unused-disable": "warn",
"promise/always-return": "off",
"react/jsx-curly-brace-presence": "warn",
"react-hooks/exhaustive-deps": [
"warn",
{
"additionalHooks": "(useUpdateEffect)"
}
],
"unicorn/catch-error-name": ["warn", {"name": "err"}],
"unicorn/escape-case": "warn",
"unicorn/no-await-expression-member": "warn",
Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* @type {import('@jest/types').Config.ProjectConfig}
*/
module.exports = {
setupFiles: ['jest-date-mock'],
testEnvironment: 'node',
testPathIgnorePatterns: [
'/node_modules/',
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/sdk-discord/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export const discordSdkDef = {

export default discordSdkDef

// codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "./**/*.{spec,test,fixture,d}.{ts,tsx}"}
// codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "*.{spec,test,fixture,d}.{ts,tsx}"}

// codegen:end
2 changes: 1 addition & 1 deletion packages/sdks/sdk-openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export const openaiSdkDef = {

export default openaiSdkDef

// codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "./**/*.{spec,test,fixture,d}.{ts,tsx}"}
// codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "*.{spec,test,fixture,d}.{ts,tsx}"}

// codegen:end
2 changes: 1 addition & 1 deletion packages/sdks/sdk-slack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export const slackSdkDef = {

export default slackSdkDef

// codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "./**/*.{spec,test,fixture,d}.{ts,tsx}"}
// codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "*.{spec,test,fixture,d}.{ts,tsx}"}

// codegen:end

0 comments on commit 5cea940

Please sign in to comment.