Skip to content

Commit 70aac9a

Browse files
committed
fix: fixed the eslint config.
1 parent 2f3399f commit 70aac9a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

platforms/pictique/eslint.config.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import prettier from 'eslint-config-prettier';
2-
import js from '@eslint/js';
1+
import { fileURLToPath } from 'node:url';
32
import { includeIgnoreFile } from '@eslint/compat';
3+
import js from '@eslint/js';
4+
import prettier from 'eslint-config-prettier';
45
import svelte from 'eslint-plugin-svelte';
56
import globals from 'globals';
6-
import { fileURLToPath } from 'node:url';
77
import ts from 'typescript-eslint';
88
import svelteConfig from './svelte.config.js';
99

@@ -20,13 +20,13 @@ export default ts.config(
2020
languageOptions: {
2121
globals: { ...globals.browser }
2222
},
23-
rules: {},
24-
overrides: [
25-
{
26-
files: ['*.svelte'],
27-
rules: { 'no-undef': 'off' }
28-
}
29-
]
23+
rules: {}
24+
},
25+
{
26+
files: ['*.svelte'],
27+
rules: {
28+
'no-undef': 'off'
29+
}
3030
},
3131
{
3232
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],

platforms/pictique/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "metagram",
2+
"name": "pictique",
33
"private": true,
44
"version": "0.0.1",
55
"type": "module",

0 commit comments

Comments
 (0)