Skip to content

Commit

Permalink
Move to mono repo structure
Browse files Browse the repository at this point in the history
  • Loading branch information
thobson committed Jul 22, 2024
1 parent be1ae82 commit 8f32ed1
Show file tree
Hide file tree
Showing 377 changed files with 16,275 additions and 576 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/*
!/src
88 changes: 88 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
extends: [
'eslint:recommended',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:@typescript-eslint/strict-type-checked',
'prettier'
],
overrides: [],
parser: "@typescript-eslint/parser",
parserOptions: {
project: './tsconfig.json'
},
plugins: [
"@typescript-eslint",
"import"
],
root: true,
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/consistent-type-definitions": [
"warn",
"type"
],
"@typescript-eslint/consistent-type-imports": [
"error"
],
"sort-imports": [
"warn",
{
ignoreCase: false,
ignoreDeclarationSort: true, // don"t want to sort import lines, use eslint-plugin-import instead
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
allowSeparatedGroups: true,
},
],

"import/no-unresolved": "error",
"import/newline-after-import": [
"warn",
{
"count": 1
}
],
'import/order': [
'warn',
{
groups: [
'builtin', // Built-in imports (come from NodeJS native) go first
'external', // <- External imports
'internal', // <- Absolute imports
['sibling', 'parent'], // <- Relative imports, the sibling and parent types they can be mingled together
'index', // <- index imports
'unknown', // <- unknown
],
'newlines-between': 'ignore',
alphabetize: {
/* sort in ascending order. Options: ["ignore", "asc", "desc"] */
order: 'asc',
/* ignore case. Options: [true, false] */
caseInsensitive: true,
},
},
]
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": true
}
}
}
18 changes: 1 addition & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
sqlite.db
TODO.txt

# sst
.sst
sst.config.ts
src/sst-env.d.ts
node_modules
11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 100,
"quoteProps": "consistent",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "ignore",
"bracketSameLine": true,
"useTabs": false
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Passlock
Copyright (c) 2023 Passlock

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 8f32ed1

Please sign in to comment.