Skip to content
Snippets Groups Projects
Commit a5ac454d authored by Roang's avatar Roang
Browse files

Add prettier

* Add package json with yarn and prettier
* Add prettier configuration
* Ignore files that are covered by djLint
* modify editorconfig to match prettier
parent a7dd1fba
Branches
Tags
No related merge requests found
...@@ -2,18 +2,15 @@ ...@@ -2,18 +2,15 @@
root = true root = true
[*] [*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
end_of_line = lf
indent_style = space
max_line_length = 120
trim_trailing_whitespace = true
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.{css,html,js,scss,j2}] [*.py]
indent_size = 2 indent_size = 4
[*.yml]
indent_size = 2
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
...@@ -108,3 +108,13 @@ dmypy.json ...@@ -108,3 +108,13 @@ dmypy.json
# Cython debug symbols # Cython debug symbols
cython_debug/ cython_debug/
# yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
# SDKS are excluded as we do not want them in the repository
# !.yarn/sdks
!.yarn/versions
**/*.html
**/*.j2
static.dist/
**/vendor/**/*
**/list_script.js
src/core/fixtures/local/**/*
src/plainui/static/hub.*
src/plainui/static/plainui/js/player.js
{}
{
"name": "hub",
"packageManager": "yarn@4.5.0",
"devDependencies": {
"prettier": "^3.3.3"
}
}
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!
__metadata:
version: 8
cacheKey: 10c0
"hub@workspace:.":
version: 0.0.0-use.local
resolution: "hub@workspace:."
dependencies:
prettier: "npm:^3.3.3"
languageName: unknown
linkType: soft
"prettier@npm:^3.3.3":
version: 3.3.3
resolution: "prettier@npm:3.3.3"
bin:
prettier: bin/prettier.cjs
checksum: 10c0/b85828b08e7505716324e4245549b9205c0cacb25342a030ba8885aba2039a115dbcf75a0b7ca3b37bc9d101ee61fab8113fc69ca3359f2a226f1ecc07ad2e26
languageName: node
linkType: hard
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment