-
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.
enable linting and update client module config
Showing
25 changed files
with
2,181 additions
and
1,670 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": ["/*", "!/client", "!/server"] | ||
} |
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
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,3 +1,3 @@ | ||
VITE_VUE_APP_FMP_KEY="<your_api_key>" | ||
VITE_VUE_APP_STOCK_TICKERS="GME,RDDT" | ||
VITE_VUE_APP_CRYPTO_TICKERS="ETH-USD,BTC-USD" | ||
FMP_KEY="<your_api_key>" | ||
STOCK_TICKERS="MSFT,AAPL,NVDA,AMD,INTC,AMZN" | ||
CRYPTO_TICKERS="ETH-USD,BTC-USD" |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* eslint-env node */ | ||
require('@rushstack/eslint-patch/modern-module-resolution'); | ||
|
||
module.exports = { | ||
extends: [ | ||
'plugin:vue/vue3-recommended', | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended-type-checked', | ||
'@vue/eslint-config-typescript', | ||
'@vue/eslint-config-prettier/skip-formatting', | ||
'prettier' | ||
], | ||
parser: 'vue-eslint-parser', | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
project: ['./tsconfig.json'], | ||
tsconfigRootDir: __dirname, | ||
parser: '@typescript-eslint/parser' | ||
}, | ||
rules: { | ||
'@typescript-eslint/consistent-type-imports': 2, | ||
'@typescript-eslint/prefer-for-of': 2, | ||
'@typescript-eslint/unbound-method': 0, | ||
'@typescript-eslint/no-unused-vars': 0, | ||
'@typescript-eslint/no-unsafe-assignment': 0, | ||
'vue/multi-word-component-names': 0, | ||
'vue/require-typed-ref': 2, | ||
'vue/component-api-style': [2, ['script-setup']], | ||
'vue/block-lang': [2, { script: { lang: 'ts' } }], | ||
'vue/define-macros-order': 2, | ||
'vue/define-props-declaration': 2, | ||
'vue/no-ref-object-reactivity-loss': 2, | ||
'vue/no-undef-properties': 2, | ||
'vue/no-unused-components': [2, { ignoreWhenBindingPresent: true }], | ||
'vue/no-unused-properties': 2, | ||
'vue/no-unused-refs': 2, | ||
'prettier/prettier': 2 | ||
}, | ||
ignorePatterns: ['/*', '!/src', '!/tests'] | ||
}; |
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
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
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
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
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
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
6 changes: 4 additions & 2 deletions
6
client/src/components/__tests__/App.spec.ts → client/tests/App.spec.ts
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
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,7 +1,7 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
interface ImportMetaEnv { | ||
readonly VITE_VUE_APP_FMP_KEY: string; | ||
readonly VITE_VUE_APP_STOCK_TICKERS: string; | ||
readonly VITE_VUE_APP_CRYPTO_TICKERS: string; | ||
readonly FMP_KEY: string; | ||
readonly STOCK_TICKERS: string; | ||
readonly CRYPTO_TICKERS: string; | ||
} |
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.