UNPKG

eslint-plugin-esm

Version:
97 lines (51 loc) 2.15 kB
# eslint-plugin-esm ## 0.8.1 ### Patch Changes - 57c267d: feat: add rule `esm/top-side-effect-imports` ## 0.8.0 ### Minor Changes - 28d8553: chore: required node ^18.20.0 or >=20.10.0 ## 0.7.0 ### Minor Changes - 01657a8: feat(eslint-plugin-esm): rename `no-inexistent-relative-imports` to `existing-file-imports` ## 0.6.1 ### Patch Changes - 501e3b4: feat(eslint-plugin-esm): disallow side effect imports for `no-side-effect-imports` rule - da63d2e: fix(eslint-plugin-esm): depress unexpected error messages in console ## 0.6.0 ### Minor Changes - 02d0164: chore(eslint-plugin-esm): make `no-inexistent-relative-imports` stricter ## 0.5.0 ### Minor Changes - cb2a822: feat: remove `esm/no-ts-file-imports`, and add `esm/no-declaration-file-imports` ### Patch Changes - cb2a822: feat: add rule `no-inexistent-relative-imports` ## 0.4.0 ### Minor Changes - 85cd2d5: refactor(eslint-plugin-esm): rename rule `nearest-relative-path` to `no-useless-path-segments` ### Patch Changes - 36c4c6b: fix(eslint-plugin-esm): report on `./..` and `./` ## 0.3.0 ### Minor Changes - 1b7d98c: refactor(eslint-plugin-esm): `no-side-effect-imports` will not ignore declaration files now - 2d485c9: refactor(eslint-plugin-esm): `no-ts-file-imports` will not ignore declaration files now ### Patch Changes - 6c64129: feat: add rule `no-empty-exports` - d54423b: fix(eslint-plugin-esm): additionally check for importing node built-in module - 778a198: feat: add rule `esm/required-exports` ## 0.2.2 ### Patch Changes - 905e445: chore: update deps - 0c4462d: fix(eslint-plugin-esm): fix incorrect report on `import type {} from "@foo/bar"` ## 0.2.1 ### Patch Changes - 2b04bbd: fix(eslint-plugin-esm): allow module existing in peerDependencies for `no-phantom-dep-imports` rule ## 0.2.0 ### Minor Changes - 28edf1c: feat(eslint-plugin-esm)!: support `allowDevDependencies` option ## 0.1.1 ### Patch Changes - 52c7428: fix(eslint-plugin-esm): fix `nearest-relative-path` rule problem when importing from `.` ## 0.1.0 ### Minor Changes - d0491d8: refactor: migrate rules from `@git-validator/eslint-plugin` to `eslint-plugin-esm`