This commit is contained in:
pqcqaq 2024-10-12 21:32:15 +08:00
parent 03a80a90cb
commit afacb6f958
4 changed files with 37 additions and 0 deletions

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
single_quoted_string = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

4
.eslintignore Normal file
View File

@ -0,0 +1,4 @@
node_modules/
packages/react-live/dist/
website/build/
src/app/routers/

8
.eslintrc.json Normal file
View File

@ -0,0 +1,8 @@
{
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"es6": true
}
}

10
.prettierrc Normal file
View File

@ -0,0 +1,10 @@
{
"useTabs": false,
"tabWidth": 4,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5",
"semi": true,
"endOfLine": "lf",
"jsxSingleQuote": true
}