Skip to content

Commit

Permalink
chore(eslint): update to no longer use deprecated type
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Nov 8, 2024
1 parent 1b57e19 commit 8877793
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/extension/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import svelte, { webextensions } from '@yd/config/eslint/svelte';

/** @type {import('eslint').Linter.FlatConfig[]} */
/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['.wxt/', '.output/']
Expand Down
2 changes: 1 addition & 1 deletion apps/web/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import svelte from '@yd/config/eslint/svelte';

/** @type {import('eslint').Linter.FlatConfig[]} */
/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['build/', '.svelte-kit/']
Expand Down
2 changes: 1 addition & 1 deletion packages/client/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typescript from '@yd/config/eslint/typescript';

/** @type {import('eslint').Linter.FlatConfig} */
/** @type {import('eslint').Linter.Config} */
export default [
{
ignores: ['dist/**/*', 'src/generated/**/*']
Expand Down
2 changes: 1 addition & 1 deletion packages/config/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from './eslint/typescript.js';

/** @type {import('eslint').Linter.FlatConfig[]} */
/** @type {import('eslint').Linter.Config[]} */
export default config;
2 changes: 1 addition & 1 deletion packages/config/eslint/svelte.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import tseslint from 'typescript-eslint';

import eslintTypeScript from './typescript.js';

/** @type {import('eslint').Linter.FlatConfig[]} */
/** @type {import('eslint').Linter.Config[]} */
export default tseslint.config(
...eslintTypeScript,
...eslintPluginSvelte.configs['flat/recommended'],
Expand Down
2 changes: 1 addition & 1 deletion packages/config/eslint/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import prettier from 'eslint-config-prettier';
import globals from 'globals';
import tseslint from 'typescript-eslint';

/** @type {import('eslint').Linter.FlatConfig[]} */
/** @type {import('eslint').Linter.Config[]} */
export default tseslint.config(
{
ignores: [
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import svelte from '@yd/config/eslint/svelte';

/** @type {import('eslint').Linter.FlatConfig[]} */
/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: ['dist/', '.svelte-kit/']
Expand Down

0 comments on commit 8877793

Please sign in to comment.