Skip to content

Commit 576bc5e

Browse files
committed
2 parents f7393aa + 795fda5 commit 576bc5e

3 files changed

Lines changed: 890 additions & 135 deletions

File tree

eslint-local-plugin.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const onlyTailwindRule = {
66
},
77
schema: [],
88
messages: {
9-
onlyTailwind: 'Do not put actual content inside <style> tags in Vue files.\nPlease use Tailwind CSS only.\nIf necessary, you can add "cosmo-only-tailwind-disable" comment to skip the check for the whole file.\n你已经学了Tailwind了, 不要用css了, 这样显得很混乱',
9+
onlyTailwind: 'Do not put actual content inside <style> tags in Vue files.\nPlease use Tailwind CSS only.\nIf necessary, you can add "cosmo-only-tailwind-disable" comment to skip the check for the whole file.\n出于对一致性的要求, 非必要最好不要这样做, 十分混乱. 若必要, 可以通过注释关闭报错, 方法在上面的英文部分中',
1010
},
1111
},
1212
create(context) {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@tresjs/cientos": "^4.3.1",
2222
"@tresjs/nuxt": "^4.0.0",
2323
"better-sqlite3": "^12.4.1",
24+
"cosmo-lib": "^1.0.6",
2425
"motion-v": "^2.0.0",
2526
"three": "^0.180.0",
2627
"vue": "latest"

0 commit comments

Comments
 (0)