@egs33/eslint-config 2.0.1 → 2.0.2
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/package.json +1 -1
- package/vue3.js +5 -3
package/package.json
CHANGED
package/vue3.js
CHANGED
|
@@ -108,7 +108,9 @@ const config = [
|
|
|
108
108
|
];
|
|
109
109
|
|
|
110
110
|
// default name '.vue' is invalid processer name in flat config
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
const vueConfig = config.find((c) => c?.plugins?.vue);
|
|
112
|
+
if (vueConfig) {
|
|
113
|
+
vueConfig.plugins.vue.processors.vue = vueConfig.plugins.vue.processors['.vue'];
|
|
114
|
+
}
|
|
113
115
|
|
|
114
|
-
export default config;
|
|
116
|
+
export default [...config, { processor: 'vue/vue' }];
|