Add prettier configuration

[MAILPOET-4075]
This commit is contained in:
Jan Jakes 2022-04-08 10:14:55 +02:00 committed by Veljko V
parent 50c80b8a05
commit 9055bdeb11
2 changed files with 30 additions and 0 deletions

25
.prettierignore Normal file
View File

@ -0,0 +1,25 @@
*.hbs
.mp_svn
_generated
_output
composer.json
composer.lock
node_modules
vendor
vendor-prefixed
/.mp_svn
/dev/data
/mailpoet/assets/dist
/mailpoet/assets/js/lib
/mailpoet/assets/js/src/newsletter_editor/behaviors/tinymce_icons.js
/mailpoet/generated
/mailpoet/lang
/mailpoet/lib/Newsletter/Renderer/Template.html
/mailpoet/lib-3rd-party
/mailpoet/plugin_repository
/mailpoet/temp
/mailpoet/tests/javascript_newsletter_editor/testBundles
/mailpoet/tests/plugins
/mailpoet/views
/mailpoet-premium
/wordpress

5
.prettierrc Normal file
View File

@ -0,0 +1,5 @@
{
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all"
}