From acfa5064145add417963c9e0780a0eee6f488b7b Mon Sep 17 00:00:00 2001 From: ianwremmel <1182361+ianwremmel@users.noreply.github.com> Date: Sun, 7 Aug 2022 09:26:39 -0700 Subject: [PATCH] chore: add basic config files --- .editorconfig | 16 ++++++++++++++++ .gitignore | 4 ++++ .markdownlint.json | 14 ++++++++++++++ .prettierrc | 20 ++++++++++++++++++++ LICENSE | 9 +++++++++ package-lock.json | 17 +++++++++++++++++ package.json | 16 ++++++++++++++++ 7 files changed, 96 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 .markdownlint.json create mode 100644 .prettierrc create mode 100644 LICENSE create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..2b41855e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +# code blocks in lists get confused with only 2 spaces +indent_size = 4 + +[*.apib] +indent_size = 4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..68a40578 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules + +# Ignore editor config directories +.idea diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 00000000..466fe5df --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,14 @@ +{ + "MD007": { + "indent": 4 + }, + "MD013": { + "code_blocks": false + }, + "MD030": { + "ol_single": 2, + "ol_multi": 2, + "ul_single": 3, + "ul_multi": 3 + } +} diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..0afc99ab --- /dev/null +++ b/.prettierrc @@ -0,0 +1,20 @@ +{ + "arrowParens": "always", + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": true, + "trailingComma": "es5", + "bracketSpacing": false, + "jsxBracketSameLine": false, + "proseWrap": "always", + "overrides": [ + { + "files": "*.md", + "options": { + "tabWidth": 4 + } + } + ] +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..0d637958 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2023 Ian Remmel, LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..9b77afb3 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,17 @@ +{ + "name": "beacon", + "version": "0.0.0-development", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "beacon", + "version": "0.0.0-development", + "license": "MIT", + "engines": { + "node": "16.x", + "npm": "8.x" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000..2315baba --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "@code-like-a-carpenter/workbench", + "version": "0.0.0-development", + "description": "Monorepo of common libraries, CLIs, and codegen tools", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "engines": { + "node": "18.x", + "npm": "8.x" + }, + "keywords": [], + "author": "Ian Remmel <1182361+ianwremmel@users.noreply.github.com>", + "license": "MIT", + "private": true +}