Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
JivusAyrus committed Aug 13, 2024
1 parent d7d0661 commit 5aaa2ac
Show file tree
Hide file tree
Showing 13 changed files with 1,028 additions and 197 deletions.
29 changes: 29 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"extends": ["eslint-config-unjs", "plugin:require-extensions/recommended"],
"plugins": ["require-extensions"],
"rules": {
"space-before-function-paren": 0,
"arrow-parens": 0,
"comma-dangle": 0,
"semi": 0,
"unicorn/prevent-abbreviations": 0,
"quotes": 0,
"keyword-spacing": 0,
"no-undef": 0,
"indent": 0,
"import/named": 0,
"unicorn/catch-error-name": 0,
"unicorn/no-null": 0,
"unicorn/no-useless-undefined": 0,
"unicorn/no-await-expression-member": 0,
"unicorn/no-array-push-push": 0,
"unicorn/filename-case": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"unicorn/expiring-todo-comments": 0,
"no-unexpected-multiline": 0,
"no-useless-constructor": 0,
"unicorn/prefer-ternary": 0,
"unicorn/no-nested-ternary": 0,
},
}
4 changes: 2 additions & 2 deletions .github/cosmo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ subgraphs:
- name: 'employees'
schema: 'subgraphs/employees/schema.graphql'
routing_url: 'https://employees-api.fly.dev/graphql'

- name: 'family'
schema: 'subgraphs/family/schema.graphql'
routing_url: 'https://family-api.fly.dev/graphql'
Expand All @@ -20,4 +20,4 @@ subgraphs:

- name: 'hobbies'
schema: 'subgraphs/hobbies/schema.graphql'
routing_url: 'https://hobbies-api.fly.dev/graphql'
routing_url: 'https://hobbies-api.fly.dev/graphql'
13 changes: 5 additions & 8 deletions .github/linters/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ extends:
- plugin:github/recommended
- plugin:jest/recommended

rules:
{
rules: {
'camelcase': 'off',
'eslint-comments/no-use': 'off',
'eslint-comments/no-unused-disable': 'off',
Expand All @@ -44,15 +43,13 @@ rules:
'no-console': 'off',
'no-unused-vars': 'off',
'prettier/prettier': 'error',
'semi': 'off',
# 'semi': 'off',
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/explicit-member-accessibility':
['error', { 'accessibility': 'no-public' }],
'@typescript-eslint/explicit-function-return-type':
['error', { 'allowExpressions': true }],
'@typescript-eslint/explicit-member-accessibility': ['error', { 'accessibility': 'no-public' }],
'@typescript-eslint/explicit-function-return-type': ['error', { 'allowExpressions': true }],
'@typescript-eslint/func-call-spacing': ['error', 'never'],
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-empty-interface': 'error',
Expand All @@ -79,5 +76,5 @@ rules:
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/unbound-method': 'error'
'@typescript-eslint/unbound-method': 'error',
}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'subgraphs/family/schema.graphql'
- 'subgraphs/products/schema.graphql'
- 'subgraphs/hobbies/schema.graphql'
types:
types:
- opened
- reopened
- closed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# cosmo-previews
# cosmo-previews
17 changes: 0 additions & 17 deletions __tests__/index.test.ts

This file was deleted.

89 changes: 0 additions & 89 deletions __tests__/main.test.ts

This file was deleted.

25 changes: 0 additions & 25 deletions __tests__/wait.test.ts

This file was deleted.

Loading

0 comments on commit 5aaa2ac

Please sign in to comment.