From 5ea891599282037cc643317ccd29f6a2086ad329 Mon Sep 17 00:00:00 2001 From: Caleb Burke Date: Tue, 12 May 2026 02:25:02 -0700 Subject: [PATCH] Setting up project --- .eslintrc.yml | 11 +++++ .gitignore | 112 +++++++++++++++++++++++++++++++++++++++++++++++ .prettierrc.yaml | 19 ++++++++ .tool-versions | 2 + package.json | 11 +++++ 5 files changed, 155 insertions(+) create mode 100644 .eslintrc.yml create mode 100644 .gitignore create mode 100644 .prettierrc.yaml create mode 100644 .tool-versions create mode 100644 package.json diff --git a/.eslintrc.yml b/.eslintrc.yml new file mode 100644 index 0000000..3290a2b --- /dev/null +++ b/.eslintrc.yml @@ -0,0 +1,11 @@ +env: + browser: true + es2021: true + node: true +extends: + - prettier +overrides: [] +parserOptions: + ecmaVersion: latest + sourceType: module +rules: {} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d51e049 --- /dev/null +++ b/.gitignore @@ -0,0 +1,112 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories + files +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test +.env.production + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt +dist +app + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and *not* Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port +db/sapassword.env +.env.development + +# DB Data +db/data +/db_dumps diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 0000000..e9cd27d --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,19 @@ +# .prettierrc or .prettierrc.yaml +$schema: "https://json.schemastore.org/prettierrc" +embeddedLanguageFormatting: "auto" +trailingComma: "es5" +tabWidth: 2 +semi: false +singleQuote: false +singleAttributePerLine: true +useTabs: false +endOfLine: "auto" +printWidth: 100 +plugins: + - prettier-plugin-embed + - prettier-plugin-sql +overrides: + - files: "*.sql" + options: + language: "tsql" + paramTypes: "{ named: [':'] }" diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..4ed1c6a --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +nodejs 20.10.0 +ruby 3.2.2 diff --git a/package.json b/package.json new file mode 100644 index 0000000..ec5044d --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "tranche-development-tooling", + "private": true, + "devDependencies": { + "eslint": "^9.33.0", + "eslint-config-prettier": "^10.1.8", + "prettier": "^3.6.2", + "prettier-plugin-embed": "^0.5.1", + "prettier-plugin-sql": "^0.19.2" + } +} \ No newline at end of file