Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-rc committed Nov 22, 2023
1 parent e00fc92 commit 9270ab7
Show file tree
Hide file tree
Showing 99 changed files with 5,296 additions and 3,577 deletions.
4 changes: 4 additions & 0 deletions .cspell/project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ notifysend
oclif
packagejson
postbuild
printlns
Promisable
sourcemaps
sprintln
sprintlns
typecheck
unthunk
usagestop
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use flake

export GGT_SENTRY_ENABLED=0

export WORKSPACE_ROOT="$PWD"
export PATH="$WORKSPACE_ROOT/node_modules/.bin/:$PATH"

Expand Down
10 changes: 8 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"parserOptions": {
"project": true
},
"plugins": ["@typescript-eslint", "import", "lodash", "unicorn"],
"plugins": ["@typescript-eslint", "import", "lodash", "unicorn", "only-warn"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/strict-type-checked",
Expand All @@ -20,7 +20,10 @@
"curly": ["warn", "all"],
"eqeqeq": ["warn", "smart"],
"func-style": ["warn", "expression"],
"max-depth": ["warn", 2],
"max-depth": ["warn", 3],
"no-unneeded-ternary": ["warn"],
"prefer-const": ["warn", { "destructuring": "all" }],
"spaced-comment": ["warn", "always"],

"unicorn/consistent-destructuring": ["warn"],
"unicorn/explicit-length-check": ["warn"],
Expand All @@ -30,7 +33,10 @@
"unicorn/prefer-node-protocol": ["warn"],
"unicorn/template-indent": ["warn"],

"@typescript-eslint/consistent-type-definitions": ["warn", "type"],
"@typescript-eslint/consistent-type-imports": ["warn", { "prefer": "type-imports", "fixStyle": "inline-type-imports" }],
// prettier-ignore
"@typescript-eslint/explicit-function-return-type": ["warn", { "allowExpressions": true, "allowTypedFunctionExpressions": true, "allowHigherOrderFunctions": true, "allowDirectConstAssertionInArrowFunctions": true, "allowConciseArrowFunctionExpressionsStartingWithVoid": true, "allowFunctionsWithoutTypeParameters": false, "allowedNames": [], "allowIIFEs": false }],
"@typescript-eslint/member-ordering": ["warn"],
// prettier-ignore
"@typescript-eslint/naming-convention": ["warn", { "selector": "memberLike", "modifiers": ["private"], "format": ["camelCase"], "leadingUnderscore": "require" }],
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.direnv
.idea
.log
.nyc_output
.vscode
lib
node_modules
tmp
Expand Down
Loading

0 comments on commit 9270ab7

Please sign in to comment.