-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Tech-Nest-Ventures/17-app-doesnt-automati…
…cally-update-with-new-data-for-new-day fix: have frontend rerender on app focus
- Loading branch information
Showing
34 changed files
with
1,759 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,36 @@ | ||
module.exports = { | ||
plugins: ['solid'], | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'solid', 'import'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:solid/typescript', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/typescript', | ||
'@electron-toolkit/eslint-config-ts/recommended', | ||
'@electron-toolkit/eslint-config-prettier' | ||
], | ||
rules: { | ||
'@typescript-eslint/explicit-function-return-type': [ | ||
'error', | ||
{ | ||
allowExpressions: true, // Allow return types to be inferred for expressions | ||
allowTypedFunctionExpressions: true, // Allow typed function expressions | ||
allowMethods: true // Allow methods in classes to omit return types | ||
overrides: [ | ||
{ | ||
// For Solid.js-specific settings | ||
files: ['*.tsx'], | ||
extends: ['plugin:solid/typescript'], | ||
rules: { | ||
// Add or override rules specific to Solid.js or TypeScript JSX files here | ||
} | ||
], | ||
// Disable the no-unused-vars rule or allow specific patterns like unused state variables | ||
'no-unused-vars': ['warn', { varsIgnorePattern: '^_' }] | ||
} | ||
], | ||
settings: { | ||
'import/resolver': { | ||
typescript: { | ||
project: './tsconfig.json' | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.