From bfbfc01e998a5d46fe4507be602edc52a8c6d611 Mon Sep 17 00:00:00 2001 From: Tasia Date: Fri, 23 Feb 2024 10:42:26 +0100 Subject: [PATCH] keep the new config files --- .prettierignore | 14 ++++++++++++++ .prettierrc.yaml | 10 ++++++++++ package-lock.json | 27 +++++++++++++++++++++++++++ package.json | 11 +++++++++++ 4 files changed, 62 insertions(+) create mode 100644 .prettierignore create mode 100644 .prettierrc.yaml create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..595b4cc1 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,14 @@ +node_modules +src +deps +.clang-format + +# Minified files +**/*.min.css +**/*.min.js +**/leaflet.* +**/commonmark* +**/w3.css +apps/ssb/tribute.esm.js +apps/api/app.js +**/emojis.json diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 00000000..1f7ef42f --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,10 @@ +trailingComma: 'es5' +useTabs: true +semi: true +singleQuote: true +bracketSpacing: false +# overrides: +# - files: '**/*.json' +# options: +# useTabs: false +# tabWidth: 2 diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..731d4b09 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,27 @@ +{ + "name": "tildefriends", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "tildefriends", + "license": "MIT", + "dependencies": { + "prettier": "^3.2.5" + } + }, + "node_modules/prettier": { + "version": "3.2.5", + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000..6808eff0 --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "tildefriends", + "scripts": { + "prettier": "prettier . --check --cache --write" + }, + "author": "Cory McWilliams", + "license": "MIT", + "dependencies": { + "prettier": "^3.2.5" + } +}