@enormora/eslint-config-base 0.0.22 → 0.0.23
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.
- package/base.js +3 -2
- package/package.json +1 -1
package/base.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import importPlugin from 'eslint-plugin-import-x';
|
|
1
|
+
import importPlugin, { createNodeResolver } from 'eslint-plugin-import-x';
|
|
2
2
|
import eslintCommentsPlugin from '@eslint-community/eslint-plugin-eslint-comments';
|
|
3
3
|
import noSecretsPlugin from 'eslint-plugin-no-secrets';
|
|
4
4
|
import codeSpellChecker from '@cspell/eslint-plugin';
|
|
@@ -36,7 +36,8 @@ export const baseConfig = {
|
|
|
36
36
|
...bestPracticesRuleSet.settings,
|
|
37
37
|
'import/parsers': {
|
|
38
38
|
espree: javascriptExtensions
|
|
39
|
-
}
|
|
39
|
+
},
|
|
40
|
+
'import-x/resolver-next': [createNodeResolver()]
|
|
40
41
|
},
|
|
41
42
|
rules: {
|
|
42
43
|
...stylisticRuleSet.rules,
|
package/package.json
CHANGED