Skip to content

Commit

Permalink
EV-244: Added lint tool
Browse files Browse the repository at this point in the history
  • Loading branch information
cableman committed Jun 30, 2023
1 parent 5a14746 commit e4ef02a
Show file tree
Hide file tree
Showing 12 changed files with 800 additions and 76 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
node-version: '18'
- run: yarn install
- name: markdownlint
run: yarn markdownlint README.md docs/README.md
run: yarn run coding-standards-check

apispec:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
/.php-cs-fixer.php
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###

node_modules/
10 changes: 10 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"default": true,
"MD013": {
"line_length": 120,
"code_blocks": false
},
"no-duplicate-heading": {
"siblings_only": true
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This is the next iteration of [the event database](https://github.com/itk-event-database/event-database-api) use by the
municipality of Aarhus.

This API is build using [Symfony](https://symfony.com/) with their Symfony Messenger and
[API platform](https://api-platform.com/) utilizing basic CORS pattern.
This API is build using [Symfony](https://symfony.com/) with their Symfony Messenger and
[API platform](https://api-platform.com/) utilizing basic CORS pattern.

For more detailed and technical documentation see the docs folder in this repository.
10 changes: 10 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "3"

services:
node:
image: node:18
networks:
- app
working_dir: /app
volumes:
- .:/app
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is the technical documentation for the project.

# Abstracted data flow
## Abstracted data flow

![System input data flow](./images/data_flow.png)

Expand All @@ -15,7 +15,7 @@ This is the technical documentation for the project.
* Geo encoding filter
* Postel code filter (or filter)

# User handling
## User handling

![User handling concept](./images/user_handling.png)

Expand All @@ -25,6 +25,6 @@ This is the technical documentation for the project.
* User enable/disable (soft delete)
* Is context handler in play

# API access
## API access

![Api user creation flow](./images/api_user.png)
Loading

0 comments on commit e4ef02a

Please sign in to comment.