Skip to content

Commit

Permalink
cleanup + better types
Browse files Browse the repository at this point in the history
  • Loading branch information
gxxcastillo committed Feb 7, 2024
1 parent a9fc9e5 commit 9460954
Show file tree
Hide file tree
Showing 74 changed files with 224 additions and 3,670 deletions.
14 changes: 10 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
'consistent-return': 0,
'prefer-destructuring': 0,
'import/extensions': 0,
'no-underscore-dangle': 0,
'sort-keys': 0,
'simple-import-sort/imports': 0,
'import/prefer-default-export': 0,
Expand All @@ -26,6 +27,7 @@ module.exports = {
'promise/prefer-await-to-then': 0,
'promise/prefer-await-to-callbacks': 0,
'unicorn/explicit-length-check': 0,
'@typescript-eslint/naming-convention': 0,
'@typescript-eslint/no-confusing-void-expression': 0,
'@typescript-eslint/no-unnecessary-type-assertion': 0,
'@typescript-eslint/no-unsafe-call': 0,
Expand All @@ -36,12 +38,16 @@ module.exports = {
'@typescript-eslint/sort-type-constituents': 0,
'@typescript-eslint/no-redundant-type-constituents': 0,
'@typescript-eslint/no-unsafe-argument': 0,
'@typescript-eslint/consistent-type-imports': [2, {
fixStyle: 'inline-type-imports',
prefer: 'type-imports'
}]
'@typescript-eslint/consistent-type-imports': [
2,
{
fixStyle: 'inline-type-imports',
prefer: 'type-imports'
}
]
},
parser: '@typescript-eslint/parser',
ignorePatterns: ["vite.config.ts"],
parserOptions: {
project: ['./tsconfig.eslint.json', './apps/**/tsconfig.json', './packages/**/tsconfig.json'],
tsconfigRootDir: __dirname
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ dist
# moon
.moon/cache
.moon/docker

# ts
tsconfig.tsbuildinfo
8 changes: 3 additions & 5 deletions .moon/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ tasks:
types:
command:
- 'tsc'
- '--noEmit'
- '--build'
inputs:
# Source and test files
- 'src/**/*'
- 'tests/**/*'
# Type declarations
- 'types/**/*'
- '@globs(sources)'
- '@globs(tests)'
# Project configs
- 'tsconfig.json'
- 'tsconfig.*.json'
Expand Down
2 changes: 1 addition & 1 deletion .moon/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ typescript:
createMissingConfig: true
projectConfigFileName: 'tsconfig.json'
rootConfigFileName: 'tsconfig.json'
routeOutDirToCache: true
routeOutDirToCache: false
syncProjectReferences: true
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"cSpell.words": ["beforeinput", "moonrepo", "nvmrc", "solidjs", "vinxi"],
"cSpell.words": ["beforeinput", "moonrepo", "nvmrc", "solidjs", "vinxi", "vite"],
"typescript.tsdk": "node_modules/typescript/lib",
"local-history.path": "~/.config/vscode-history"
}
1 change: 1 addition & 0 deletions apps/basic-demo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist
.output
.vercel
.netlify
.vinxi
netlify

# Environment
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9460954

Please sign in to comment.