We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0acd3dd + 11ec35f commit 939320cCopy full SHA for 939320c
1 file changed
config/.eslintrc.js
@@ -9,6 +9,18 @@ module.exports = {
9
browser: true,
10
node: true,
11
},
12
+ settings: {
13
+ /**
14
+ * An array of additional modules to consider as "core" modules
15
+ * @see https://github.com/import-js/eslint-plugin-import/blob/main/README.md#importcore-modules
16
+ */
17
18
+ * Modules already included in Nuxt.js
19
+ * BUGFIX: without this setting, rule import/no-extraneous-dependencies is violated.
20
+ * @see https://stackoverflow.com/a/55174675
21
22
+ 'import/core-modules': ['vue', 'vuex'],
23
+ },
24
// Configurations (set of rules)
25
extends: [
26
/**
0 commit comments