Added Chinese version

Added Chinese version
This commit is contained in:
麦哲伦 2024-02-04 17:12:45 +08:00
parent d037338a23
commit 730a68b92a
466 changed files with 31255 additions and 0 deletions

21
zh-CN/.eslintrc.cjs Normal file
View file

@ -0,0 +1,21 @@
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
rules: {
'curly': ['error', 'all'],
'@typescript-eslint/semi': ['error', 'always'],
'@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
'vue/no-empty-component-block': ['error'],
'no-restricted-imports': ['error', {
paths: [{
name: '@vueuse/core',
importNames: ['useClipboard'],
message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.',
}],
}],
},
};