Skip to content

Commit

Permalink
chore: add some more stuff to the ecommerce template
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarmos-san committed Sep 24, 2023
1 parent 753494b commit 4c20f16
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
Empty file removed ecommerce-starter/.gitkeep
Empty file.
14 changes: 14 additions & 0 deletions ecommerce-starter/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"project_name": "Ecommerce Project",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '-') }}",
"description": "",
"version": "0.0.1",
"email": "[email protected]",
"__prompts__": {
"project_name": "Select the project name",
"project_slug": "Local directory name",
"description": "Write a short description of the project",
"version": "SemVer compliant version name",
"email": "Contact email address"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: detect-private-key

- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
hooks:
- id: hadolint-docker
name: lint Dockerfile

- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
name: check for non-standard formatting concerns
additional_dependencies:
- prettier@3
- "prettier-plugin-tailwindcss"
- "@trivago/prettier-plugin-sort-imports"

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.49.0
hooks:
- id: eslint
name: check for linting errors and warnings
files: \.[jt]sx?$
types: [file]
additional_dependencies:
- eslint@8
- eslint-config-prettier
- "@typescript-eslint/eslint-plugin"
- "@typescript-eslint/parser"
- typescript

0 comments on commit 4c20f16

Please sign in to comment.