Skip to content

Releases: Limegrass/eslint-plugin-import-alias

v1.4.1

17 Apr 01:52
Compare
Choose a tag to compare

Full Changelog: v1.4.0...v1.4.1

  • fixed a bug which mistakenly attempted to evaluate some paths as a
    relative path import

v1.4.0

14 Apr 05:00
Compare
Choose a tag to compare

Full Changelog: v1.3.2...v1.4.0

  • added option isAllowBaseUrlResolvedImport to allow configuring of
    whether or not non-declared paths can be used with TypeScript
    absolute imports.
    • This defaults to true.
    • The recommended config sets this to false. This is subjective, but
      it may encourage usage of a #-prefixed path to better delineate
      between absolute project paths and dependency imports

v1.3.2

04 Apr 10:35
Compare
Choose a tag to compare

Full Changelog: v1.3.1...v1.3.2

  • Fixed a potential ESLint crash when the TSConfig file is misconfigured or otherwise had errors while loading
  • Updated TSConfig resolution logic to use tsconfig-paths@^4. This should functionally work the same as before; however, please feel free to open an issue if I broke your setup. There were some potential config resolutions that could happen before that I consider essentially buggy, but we can evaluate on a case-by-case basis if you do not believe that is true.

v1.3.1

18 Mar 06:58
Compare
Choose a tag to compare

Full Changelog: v1.3.0...v1.3.1

  • add tsconfig resolution based off current file evaluated
    - this is now the default behavior, with the previous resolution
    only finding up from the working directory remaining as a fallback.
    - This is technically a potentially breaking behavior change; however,
    it seems unlikely that this would cause additional issues that
    TypeScript itself would not have complained about based off
    the given TSConfigs.

v1.3.0

11 Mar 09:41
Compare
Choose a tag to compare
  • added recommended config
    • This replaces the simple config in the README, allowing usage of the plugin through just extends: ["@limegrass/import-alias/recommended"]

v1.2.0

23 Feb 12:32
Compare
Choose a tag to compare

What's Changed

  • feature: Add pattern for relative imports override by @jocelinqueau in #8

New Contributors

  • @jocelinqueau made their first contribution in #8

Full Changelog: v1.1.0...v1.2.0

v1.1.0

23 Feb 12:10
Compare
Choose a tag to compare

v1.0.6

25 Jul 15:47
Compare
Choose a tag to compare

What's Changed

  • fix: account for differences in OS path separators by @pablohoch in #6

New Contributors

Full Changelog: v1.0.5...v1.0.6

v1.0.5

03 Jun 01:15
Compare
Choose a tag to compare
  • mitigate/resolved unsaved buffer warnings appearing

v1.0.4

31 May 03:25
Compare
Choose a tag to compare

Fixes for partial alias matches
Support for re-export declarations

Should have done it in two released and incremented the minor version, but it's too late.