commit 848dbc9ae872731c12ebaa9bb4faf9d896f795f1 Author: David Date: Sun Jul 18 21:26:28 2021 +0100 Initial commit diff --git a/js-packages/prettier-config/README.md b/js-packages/prettier-config/README.md new file mode 100644 index 000000000..c288c687a --- /dev/null +++ b/js-packages/prettier-config/README.md @@ -0,0 +1,3 @@ +# Flarum Prettier Config + + diff --git a/js-packages/prettier-config/package.json b/js-packages/prettier-config/package.json new file mode 100644 index 000000000..a0bf50d8d --- /dev/null +++ b/js-packages/prettier-config/package.json @@ -0,0 +1,22 @@ +{ + "name": "@flarum/prettier-config", + "version": "1.0.0", + "description": "", + "main": "prettierrc.json", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/flarum/prettier-config.git" + }, + "keywords": [ + "flarum" + ], + "author": "Flarum Team", + "license": "MIT", + "bugs": { + "url": "https://github.com/flarum/prettier-config/issues" + }, + "homepage": "https://github.com/flarum/prettier-config#readme" +} diff --git a/js-packages/prettier-config/prettierrc.json b/js-packages/prettier-config/prettierrc.json new file mode 100644 index 000000000..c7fc4a9ec --- /dev/null +++ b/js-packages/prettier-config/prettierrc.json @@ -0,0 +1,7 @@ +{ + "printWidth": 150, + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "es5" +} +