LINT: Add some lint specifications

This commit is contained in:
hayden
2024-09-18 11:54:49 +08:00
parent f0c7b3823d
commit 5dea0bae98
5 changed files with 5084 additions and 4432 deletions

12
.editorconfig Normal file
View File

@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

7
.prettierrc.json Normal file
View File

@@ -0,0 +1,7 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"trailingComma": "all"
}

5
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"recommendations": [
"esbenp.prettier-vscode"
]
}

View File

@@ -15,5 +15,6 @@
"rfilename",
"unet",
"upscaler"
]
],
"editor.defaultFormatter": "esbenp.prettier-vscode"
}

View File

File diff suppressed because it is too large Load Diff