@keeex/eslint-config 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -115,5 +115,5 @@
115
115
  "test": "echo No test for this project"
116
116
  },
117
117
  "type": "module",
118
- "version": "2.0.0"
118
+ "version": "2.0.1"
119
119
  }
package/src/index.js CHANGED
@@ -59,7 +59,7 @@ const eslintConfig = async eslintParams => {
59
59
  if (!fullConfig.noBase) (await lazy.base()).apply(res, fullConfig);
60
60
  if (fullConfig.globals) (await lazy.globals()).apply(res, fullConfig);
61
61
  if (fullConfig.typescript) (await lazy.typescript()).apply(res, fullConfig);
62
- if (fullConfig.import) (await lazy.importx()).apply(res, fullConfig);
62
+ if (fullConfig.import !== false) (await lazy.importx()).apply(res, fullConfig);
63
63
  const reactCfg = getReactFullConfig(fullConfig.react);
64
64
  if (reactCfg.react) (await lazy.react()).apply(res, fullConfig);
65
65
  if (reactCfg.reactNative) (await lazy.reactNative()).apply(res, fullConfig);