Skip to content

Commit

Permalink
docs: fix Prettier to ignore Markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Dec 28, 2024
1 parent 75755b2 commit ff12896
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ root = true
end_of_line = LF
insert_final_newline = true
indent_style = space
indent_size = 4

# HTML, SCSS, JS, YAML and JSON files
[{*.html,*.twig,*.scss,*.js,*.json,*.yml}]
indent_size = 2

# PHP files
[*.php]
indent_size = 4
indent_size = 2
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
phpmyfaq/admin/assets/js/editor/
phpmyfaq/src/libs/

# Ignore all PHP files
# Ignore all PHP and Markdown files
*.php
*.md

# Ignore code for build
.github
Expand Down
14 changes: 7 additions & 7 deletions docs/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ First, log in as admin into the admin section and enable the maintenance mode.
Second, you have to delete all files **except**:

- in the directory **config/**
- keep the file **database.php**
- only if using LDAP/ActiveDirectory support also keep the file **ldap.php**
- keep the file **database.php**
- only if using LDAP/ActiveDirectory support also keep the file **ldap.php**
- the directory **attachments/**
- the directory **data/**
- the directory **images/**
Expand All @@ -49,8 +49,8 @@ First, log in as admin into the admin section and enable the maintenance mode.
Second, you have to delete all files **except**:

- in the directory **config/**
- keep the file **database.php**
- only if using LDAP/ActiveDirectory support also keep the file **ldap.php**
- keep the file **database.php**
- only if using LDAP/ActiveDirectory support also keep the file **ldap.php**
- the directory **attachments/**
- the directory **data/**
- the directory **images/**
Expand All @@ -72,9 +72,9 @@ First, log in as admin into the admin section and enable the maintenance mode.
Second, you have to delete all files **except**:

- in the directory **config/**
- keep the file **database.php**
- only if using LDAP/ActiveDirectory support also keep the file **ldap.php**
- only if using EntraID support also keep the file **azure.php**
- keep the file **database.php**
- only if using LDAP/ActiveDirectory support also keep the file **ldap.php**
- only if using EntraID support also keep the file **azure.php**
- the directory **attachments/**
- the directory **data/**
- the directory **images/**
Expand Down

0 comments on commit ff12896

Please sign in to comment.