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

import/core-modules #365

Closed
wants to merge 5 commits into from
Closed

import/core-modules #365

wants to merge 5 commits into from

Conversation

benmosher
Copy link
Member

@benmosher benmosher commented Jun 3, 2016

Fixes #275.

  • handle import/core-modules in no-unresolved
  • handle import/core-modules in @jfmengels's importType support stuff
  • create Electron shared config spec-ing import/core-modules as [electron]
settings:
  import/core-modules: [ electron ]

@@ -210,3 +214,7 @@ function hashObject(object) {
settingsShasum.update(JSON.stringify(object))
return settingsShasum.digest('hex')
}

const envCores = new Map([
['electron', new Set(['electron'])],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add atom to the default too? They too have a builtin require.

@benmosher benmosher changed the title import/env import/core-modules Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to ignore certain packages from all rules
2 participants