Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With type check, I'm getting Types of property 'name' are incompatible. Type 'boolean' is not assignable to type 'string'. #2399

Closed
huseeiin opened this issue Jul 8, 2024 · 2 comments
Labels

Comments

@huseeiin
Copy link

huseeiin commented Jul 8, 2024

// @ts-check

import js from '@eslint/js'
import stylistic from '@stylistic/eslint-plugin'
import svelte from 'eslint-plugin-svelte'
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
import globals from 'globals'
import ts from 'typescript-eslint'

export default ts.config(stylistic.configs['recommended-flat'],
  eslintPluginUnicorn.configs['flat/recommended'],
  js.configs.recommended,
  ...ts.configs.recommended,
  ...svelte.configs['flat/recommended'],
  {
    plugins: {
      '@stylistic': stylistic,
    },
    languageOptions: { globals: { ...globals.browser, ...globals.node } } },
  {
    files: ['**/*.svelte'],
    languageOptions: { parserOptions: { parser: ts.parser } },
  },
  { ignores: ['build/', '.svelte-kit/', 'dist/'] })
@huseeiin huseeiin added the bug label Jul 8, 2024
@ST-DDT
Copy link
Contributor

ST-DDT commented Jul 19, 2024

FFR: Will likely be fixed by #2382

But there is no release with that commit yet.

@fregante
Copy link
Collaborator

@fregante fregante closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants