Skip to content

Commit

Permalink
Merge pull request #260 from sebbo2002/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 authored Aug 14, 2024
2 parents f624c0d + 71726a5 commit e59c8cf
Show file tree
Hide file tree
Showing 12 changed files with 2,364 additions and 2,326 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

52 changes: 0 additions & 52 deletions .eslintrc

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ jobs:
days-before-close: 14
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: do-not-close
exempt-pr-labels: do-not-close
8 changes: 4 additions & 4 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
- name: ⚙️ Build project
run: npm run build
- name: 🪄 Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
continue-on-error: true
id: docker-build-1
with:
Expand All @@ -134,7 +134,7 @@ jobs:
ghcr.io/${{ github.repository }}:cache-${{ hashFiles('package*.json') }}
ghcr.io/${{ github.repository }}:next
- name: 🪄 Build and push (second try)
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
continue-on-error: true
if: steps.docker-build-1.outcome=='failure'
id: docker-build-2
Expand All @@ -158,7 +158,7 @@ jobs:
ghcr.io/${{ github.repository }}:cache-${{ hashFiles('package*.json') }}
ghcr.io/${{ github.repository }}:next
- name: 🪄 Build and push (third try)
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: steps.docker-build-2.outcome=='failure'
continue-on-error: true
id: docker-build-3
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
- name: 🔄 Push container to DockerHub
id: docker-build-dh
if: ${{ env.PUSH_TO_DOCKERHUB == 'true' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
51 changes: 51 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import eslint from '@eslint/js';
import eslintPluginJsonc from 'eslint-plugin-jsonc';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default [
eslint.configs.recommended,
...tseslint.configs.recommended,
...eslintPluginJsonc.configs['flat/recommended-with-jsonc'],
{
files: [
'test/**/*.ts'
],
rules: {
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/ban-ts-comment': 'off'
}
},
{
rules: {
semi: 'error',
quotes: [
'error',
'single'
],
indent: [
'error',
4
],
'jsonc/sort-keys': 'error'
},
languageOptions: {
ecmaVersion: 2022,
sourceType: 'module',
globals: {
...globals.node,
...globals.es6,
...globals.mocha
}
}
},
{
ignores: [
'node_modules/**',
'dist/**',
'docs/**',
'package-lock.json',
'.nyc_output/**'
]
}
];
Loading

0 comments on commit e59c8cf

Please sign in to comment.