-
Notifications
You must be signed in to change notification settings - Fork 229
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 #154 from Telegram-Mini-Apps/fix/example-deps
Fix example dependencies
- Loading branch information
Showing
10 changed files
with
88 additions
and
334 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
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,6 +1,28 @@ | ||
module.exports = { | ||
extends: ['custom/react'], | ||
extends: ['airbnb', 'airbnb-typescript', 'airbnb/hooks'], | ||
parserOptions: { | ||
project: './tsconfig.eslint.json', | ||
}, | ||
rules: { | ||
'react/react-in-jsx-scope': 'off', | ||
'react/jsx-props-no-spreading': 0, | ||
'react/prop-types': 0, | ||
// Works incorrectly in some IDEs. Should be equal to 2. | ||
'@typescript-eslint/indent': 0, | ||
'@typescript-eslint/consistent-type-imports': 'error', | ||
// We don't use default exports anywhere. | ||
'import/prefer-default-export': 0, | ||
// We have no problem related to extraneous dependencies. | ||
'import/no-extraneous-dependencies': 0, | ||
// Usage of "continue" is normal and prevents code from nesting. | ||
'no-continue': 0, | ||
// Enable default behavior of this rule. | ||
'object-curly-newline': ['error', { consistent: true }], | ||
'consistent-return': 0, | ||
// We select line endings depending on current OS. | ||
// See: https://stackoverflow.com/q/39114446/2771889 | ||
'linebreak-style': ['error', (process.platform === 'win32' ? 'windows' : 'unix')], | ||
// Sometimes we need to write "void promise". | ||
'no-void': 0, | ||
}, | ||
}; |
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,8 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"include": [ | ||
"src", | ||
"*.ts", | ||
"*.js" | ||
"src" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -18,6 +18,6 @@ | |
"vite": "^4.4.11" | ||
}, | ||
"dependencies": { | ||
"@tma.js/sdk": "0.12.7" | ||
"@tma.js/sdk": "^0.12.7" | ||
} | ||
} |
84 changes: 0 additions & 84 deletions
84
packages/launch-params/vite.config.ts.timestamp-1696372387242-e7ecddc23e899.mjs
This file was deleted.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
packages/sdk-solid/vite.config.ts.timestamp-1696198953152-10d6c1f0ec04f.mjs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.