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

feat(language-core): split strictTemplates #4880

Merged
merged 9 commits into from
Jan 22, 2025

Conversation

KazariEX
Copy link
Collaborator

@KazariEX KazariEX commented Sep 25, 2024

resolve #4879

const strictTemplates = typeof vueOptions.strictTemplates === 'boolean' ? {
	attributes: vueOptions.strictTemplates,
	components: vueOptions.strictTemplates
} : vueOptions.strictTemplates ?? {
	attributes: false,
	components: false
};
return {
	strictTemplates
};

Copy link

pkg-pr-new bot commented Sep 25, 2024

Open in Stackblitz

vue-component-meta

npm i https://pkg.pr.new/vuejs/language-tools/vue-component-meta@4880

@vue/language-plugin-pug

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-plugin-pug@4880

@vue/language-core

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-core@4880

@vue/language-server

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-server@4880

@vue/language-service

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-service@4880

@vue/typescript-plugin

npm i https://pkg.pr.new/vuejs/language-tools/@vue/typescript-plugin@4880

vue-tsc

npm i https://pkg.pr.new/vuejs/language-tools/vue-tsc@4880

vue-component-type-helpers

npm i https://pkg.pr.new/vuejs/language-tools/vue-component-type-helpers@4880

commit: f9584ba

@KazariEX KazariEX changed the title feat: split strictTemplates feat(language-core): split strictTemplates Sep 25, 2024
@KazariEX KazariEX enabled auto-merge (squash) September 25, 2024 10:47
@rchl
Copy link
Collaborator

rchl commented Sep 25, 2024

There is also schema: https://github.com/vuejs/language-tools/blob/master/packages/language-core/schemas/vue-tsconfig.schema.json

@KazariEX KazariEX merged commit 74d2b60 into vuejs:master Jan 22, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

split strictTemplate into two distinct options for props and component import
3 participants