Socket
Socket
Sign inDemoInstall

eslint-module-utils

Package Overview
Dependencies
7
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-module-utils

Core utilities to support eslint-plugin-import and other module-related plugins.


Version published
Maintainers
1
Install size
79.2 kB
Created

Changelog

Source

[2.0.0]! - 2016-09-30

Added

  • [unambiguous] rule: report modules that are not unambiguously ES modules.
  • recommended shared config. Roughly errors and warnings mixed together, with some parserOptions in the mix. ([#402])
  • react shared config: added jsx: true to parserOptions.ecmaFeatures.
  • Added [no-webpack-loader-syntax] rule: forbid custom Webpack loader syntax in imports. ([#586], thanks [@fson]!)
  • Add option newlines-between: "ignore" to [order] ([#519])
  • Added [no-unassigned-import] rule ([#529])

Breaking

  • [import/extensions setting] defaults to ['.js']. ([#306])
  • [import/ignore setting] defaults to nothing, and ambiguous modules are ignored natively. This means importing from CommonJS modules will no longer be reported by [default], [named], or [namespace], regardless of import/ignore. ([#270])
  • [newline-after-import]: Removed need for an empty line after an inline require call ([#570])
  • [order]: Default value for newlines-between option is now ignore ([#519])

Changed

  • imports-first is renamed to [first]. imports-first alias will continue to exist, but may be removed in a future major release.
  • Case-sensitivity: now specifically (and optionally) reported by [no-unresolved]. Other rules will ignore case-mismatches on paths on case-insensitive filesystems. ([#311])

Fixed

  • [no-internal-modules]: support @-scoped packages ([#577]+[#578], thanks [@spalger])

Keywords

FAQs

Last updated on 07 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc