Skip to content

Commit 9fc7463

Browse files
authored
Merge pull request #575 from mountaindude/main
Update deps
2 parents a74d084 + 70b3cdf commit 9fc7463

File tree

5 files changed

+598
-1355
lines changed

5 files changed

+598
-1355
lines changed

.github/workflows/docker-image-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124

125125
- name: Build and push
126126
id: docker_build
127-
uses: docker/build-push-action@v5
127+
uses: docker/build-push-action@v6
128128
if: |
129129
github.event_name != 'pull_request' &&
130130
github.repository_owner == 'ptarmiganlabs'

src/.eslintrc.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/eslint.config.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import prettier from 'eslint-plugin-prettier';
2+
import globals from 'globals';
3+
import path from 'node:path';
4+
import { fileURLToPath } from 'node:url';
5+
import js from '@eslint/js';
6+
import { FlatCompat } from '@eslint/eslintrc';
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
const compat = new FlatCompat({
11+
baseDirectory: __dirname,
12+
recommendedConfig: js.configs.recommended,
13+
allConfig: js.configs.all,
14+
});
15+
16+
// export default [...compat.extends("airbnb-base", "prettier"), {
17+
export default [
18+
...compat.extends('prettier'),
19+
{
20+
plugins: {
21+
prettier,
22+
},
23+
24+
languageOptions: {
25+
globals: {
26+
...globals.node,
27+
},
28+
29+
ecmaVersion: 12,
30+
sourceType: 'module',
31+
},
32+
33+
rules: {
34+
'prettier/prettier': 'error',
35+
},
36+
},
37+
];

0 commit comments

Comments
 (0)