Skip to content

Commit 572a9b5

Browse files
committed
Fix formatting issues
1 parent 1458c37 commit 572a9b5

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

eslint.config.mjs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
import path from 'node:path'
2-
import { fileURLToPath } from 'node:url'
1+
import path from "node:path";
2+
import { fileURLToPath } from "node:url";
33

4-
import globals from 'globals'
4+
import globals from "globals";
55

6-
import { includeIgnoreFile } from '@eslint/compat'
6+
import { includeIgnoreFile } from "@eslint/compat";
77

8-
import js from '@eslint/js'
9-
import ts from 'typescript-eslint'
10-
import astro from 'eslint-plugin-astro'
8+
import js from "@eslint/js";
9+
import ts from "typescript-eslint";
10+
import astro from "eslint-plugin-astro";
1111

12-
const __filename = fileURLToPath(import.meta.url)
13-
const srcDir = path.dirname(__filename)
12+
const __filename = fileURLToPath(import.meta.url);
13+
const srcDir = path.dirname(__filename);
1414

15-
const gitignorePath = path.resolve(srcDir, '.gitignore')
15+
const gitignorePath = path.resolve(srcDir, ".gitignore");
1616

1717
export default [
1818
includeIgnoreFile(gitignorePath),
1919

2020
{
2121
languageOptions: {
22-
ecmaVersion: 'latest',
23-
sourceType: 'module',
22+
ecmaVersion: "latest",
23+
sourceType: "module",
2424
globals: {
2525
...globals.node,
2626
...globals.browser,
2727
},
2828
},
2929

3030
rules: {
31-
'import/prefer-default-export': 'off',
32-
'@typescript-eslint/consistent-type-imports': 'error',
31+
"import/prefer-default-export": "off",
32+
"@typescript-eslint/consistent-type-imports": "error",
3333
},
3434
},
3535

@@ -40,9 +40,9 @@ export default [
4040

4141
// Type definitions
4242
{
43-
files: ['**/*.d.ts'],
43+
files: ["**/*.d.ts"],
4444
rules: {
45-
'@typescript-eslint/triple-slash-reference': 'off',
45+
"@typescript-eslint/triple-slash-reference": "off",
4646
},
4747
},
48-
]
48+
];

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
packages:
2-
- 'docs'
2+
- "docs"

0 commit comments

Comments
 (0)