Skip to content

Commit

Permalink
set up prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Sep 20, 2023
1 parent 13ff2b2 commit 3cc68c5
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/*.min.*
/sipa/static/js/*.js
!agdsn.js
/sipa/static/css/*.css
!style.css
/sipa/templates/base.html
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"plugins": ["prettier-plugin-jinja-template"],
"overrides": [
{
"files": ["*.html"],
"options": {
"parser": "jinja-template"
}
}
]
}
20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "sipa",
"version": "1.1.0",
"description": "AG DSN website",
"repository": {
"type": "git",
"url": "git+https://github.com/agdsn/sipa.git"
},
"author": "AG DSN authors",
"license": "MIT",
"bugs": {
"url": "https://github.com/agdsn/sipa/issues"
},
"homepage": "https://github.com/agdsn/sipa#readme",
"devDependencies": {
"eslint": "^8.35.0",
"prettier": "^3.0.3",
"prettier-plugin-jinja-template": "^1.1.0"
}
}

0 comments on commit 3cc68c5

Please sign in to comment.