-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to Eslint 9 * Fix new linting errors * Adjust configs * Use tseslint.config helper * Update eslint.config.mjs * Update turbo.json * Enable @typescript-eslint/no-unsafe-return * Enable @typescript-eslint/unbound-method * Enable @typescript-eslint/no-base-to-string * Enable @typescript-eslint/no-unsafe-argument * Enable @typescript-eslint/no-unsafe-assignment * Enable @typescript-eslint/no-unsafe-call * Enable @typescript-eslint/no-unsafe-enum-comparison * Enable @typescript-eslint/no-unsafe-member-access * Enable @typescript-eslint/only-throw-error * Enable @typescript-eslint/prefer-promise-reject-errors * Enable @typescript-eslint/restrict-plus-operands * Enable @typescript-eslint/restrict-template-expressions * Update index.ts * Add changeset * Try disabling new rules again for CI Despite it working locally... 😭 * Revert "Try disabling new rules again for CI" This reverts commit 88bab9e. * Fix @typescript-eslint/no-unused-vars * Update tsconfig.json * Build before lint in CI * Update tsconfig.json * Simplify script
- Loading branch information
1 parent
7aad1b6
commit 2622727
Showing
40 changed files
with
2,407 additions
and
502 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
'@codama/nodes-from-anchor': patch | ||
'@codama/renderers-js-umi': patch | ||
'@codama/dynamic-parsers': patch | ||
'@codama/dynamic-codecs': patch | ||
'@codama/renderers-rust': patch | ||
'@codama/visitors-core': patch | ||
'@codama/renderers-js': patch | ||
'@codama/visitors': patch | ||
'@codama/errors': patch | ||
--- | ||
|
||
Bump dependencies |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import solanaConfig from '@solana/eslint-config-solana'; | ||
import tseslint from 'typescript-eslint'; | ||
|
||
export default tseslint.config([ | ||
{ | ||
files: ['**/*.ts', '**/*.(c|m)?js'], | ||
ignores: ['**/dist/**', '**/e2e/**'], | ||
extends: [solanaConfig], | ||
}, | ||
{ | ||
files: ['packages/nodes/**', 'packages/node-types/**'], | ||
rules: { | ||
'sort-keys-fix/sort-keys-fix': 'off', | ||
'typescript-sort-keys/interface': 'off', | ||
}, | ||
}, | ||
]); |
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 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
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 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
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.