Skip to content

Intellij Plugin v0.0.7

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Dec 18:34
· 2123 commits to main since this release
da24940

Editors

New features

  • The LSP register formatting without the need of using dynamic capabilities from the client.

Linter

Bug fixes

  • Fix #959. noEmptyInterface no longer reports interface that extends a type and is in an external module. Contributed by @Conaclos

    Empty interface that extends a type are sometimes used to extend an existing interface.
    This is generally used to extend an interface of an external module.

    interface Extension {
      metadata: unknown;
    }
    
    declare module "@external/module" {
      export interface ExistingInterface extends Extension {}
    }
  • Fix #1061. noRedeclare no longer reports overloads of export default function. Contributed by @Conaclos

    The following code is no longer reported:

    export default function(a: boolean): boolean;
    export default function(a: number): number;
    export default function(a: number | boolean): number | boolean {
    	return a;
    }
  • Fix #651, useExhaustiveDependencies no longer reports out of scope dependecies. Contributed by @kalleep

    The following code is no longer reported:

    let outer = false;
    
    const Component = ({}) => {
      useEffect(() => {
        outer = true;
      }, []);
    }
  • Fix #728. useSingleVarDeclarator no longer outputs invalid code. Contributed by @Conaclos

What's Changed

Other changes

New Contributors

Full Changelog: cli/v1.4.1-nightly.bc772a3...lsp-intellij/v0.0.7