polkadot-js/api

View on GitHub

Showing 169 of 2,489 total issues

File types-substrate.ts has 8076 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */

// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
Severity: Major
Found in packages/types-augment/src/lookup/types-substrate.ts - About 3 wks to fix

    File substrate.ts has 6831 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
    /* eslint-disable */
    
    /* eslint-disable sort-keys */
    
    
    Severity: Major
    Found in packages/types-augment/src/lookup/substrate.ts - About 2 wks to fix

      File westend.ts has 5499 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      // Copyright 2017-2024 @polkadot/types-known authors & contributors
      // SPDX-License-Identifier: Apache-2.0
      
      // Auto-generated from on-chain data & manual definitions, do not edit
      /* eslint-disable quotes, comma-spacing */
      Severity: Major
      Found in packages/types-known/src/upgrades/e2e/westend.ts - About 2 wks to fix

        File kusama.ts has 4857 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        // Copyright 2017-2024 @polkadot/types-known authors & contributors
        // SPDX-License-Identifier: Apache-2.0
        
        // Auto-generated from on-chain data & manual definitions, do not edit
        /* eslint-disable quotes, comma-spacing */
        Severity: Major
        Found in packages/types-known/src/upgrades/e2e/kusama.ts - About 2 wks to fix

          File polkadot.ts has 3213 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          // Copyright 2017-2024 @polkadot/types-known authors & contributors
          // SPDX-License-Identifier: Apache-2.0
          
          // Auto-generated from on-chain data & manual definitions, do not edit
          /* eslint-disable quotes, comma-spacing */
          Severity: Major
          Found in packages/types-known/src/upgrades/e2e/polkadot.ts - About 1 wk to fix

            File types-polkadot.ts has 2909 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
            /* eslint-disable */
            
            // import type lookup before we augment - in some environments
            // this is required to allow for ambient/previous definitions
            Severity: Major
            Found in packages/types-augment/src/lookup/types-polkadot.ts - About 1 wk to fix

              File polkadot.ts has 2610 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
              /* eslint-disable */
              
              /* eslint-disable sort-keys */
              
              
              Severity: Major
              Found in packages/types-augment/src/lookup/polkadot.ts - About 1 wk to fix

                File interfaces.ts has 1249 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
                /* eslint-disable */
                
                // import type lookup before we augment - in some environments
                // this is required to allow for ambient/previous definitions
                Severity: Major
                Found in packages/types-augment/src/registry/interfaces.ts - About 3 days to fix

                  File errors.ts has 910 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                  /* eslint-disable */
                  
                  // import type lookup before we augment - in some environments
                  // this is required to allow for ambient/previous definitions
                  Severity: Major
                  Found in packages/api-augment/src/substrate/errors.ts - About 2 days to fix

                    File types.ts has 883 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
                    /* eslint-disable */
                    
                    import type { Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
                    import type { ITuple } from '@polkadot/types-codec/types';
                    Severity: Major
                    Found in packages/types/src/interfaces/xcm/types.ts - About 2 days to fix

                      File tx.ts has 772 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                      /* eslint-disable */
                      
                      // import type lookup before we augment - in some environments
                      // this is required to allow for ambient/previous definitions
                      Severity: Major
                      Found in packages/api-augment/src/substrate/tx.ts - About 1 day to fix

                        File events.ts has 744 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                        /* eslint-disable */
                        
                        // import type lookup before we augment - in some environments
                        // this is required to allow for ambient/previous definitions
                        Severity: Major
                        Found in packages/api-augment/src/substrate/events.ts - About 1 day to fix

                          File types.ts has 702 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
                          /* eslint-disable */
                          
                          import type { BTreeMap, BitVec, Bytes, Enum, HashMap, Option, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types-codec';
                          import type { ITuple } from '@polkadot/types-codec/types';
                          Severity: Major
                          Found in packages/types/src/interfaces/parachains/types.ts - About 1 day to fix

                            File errors.ts has 694 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                            /* eslint-disable */
                            
                            // import type lookup before we augment - in some environments
                            // this is required to allow for ambient/previous definitions
                            Severity: Major
                            Found in packages/api-augment/src/kusama/errors.ts - About 1 day to fix

                              File getTypeDef.spec.ts has 679 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              // Copyright 2017-2024 @polkadot/types authors & contributors
                              // SPDX-License-Identifier: Apache-2.0
                              
                              /// <reference types="@polkadot/dev-test/globals.d.ts" />
                              
                              
                              Severity: Major
                              Found in packages/types-create/src/util/getTypeDef.spec.ts - About 1 day to fix

                                File query.ts has 625 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                                /* eslint-disable */
                                
                                // import type lookup before we augment - in some environments
                                // this is required to allow for ambient/previous definitions
                                Severity: Major
                                Found in packages/api-augment/src/substrate/query.ts - About 1 day to fix

                                  File tx.ts has 560 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                                  /* eslint-disable */
                                  
                                  // import type lookup before we augment - in some environments
                                  // this is required to allow for ambient/previous definitions
                                  Severity: Major
                                  Found in packages/api-augment/src/kusama/tx.ts - About 1 day to fix

                                    File definitions.ts has 559 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    // Copyright 2017-2024 @polkadot/types authors & contributors
                                    // SPDX-License-Identifier: Apache-2.0
                                    
                                    // order important in structs... :)
                                    /* eslint-disable sort-keys */
                                    Severity: Major
                                    Found in packages/types/src/interfaces/parachains/definitions.ts - About 1 day to fix

                                      File query.ts has 554 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                                      /* eslint-disable */
                                      
                                      // import type lookup before we augment - in some environments
                                      // this is required to allow for ambient/previous definitions
                                      Severity: Major
                                      Found in packages/api-augment/src/kusama/query.ts - About 1 day to fix

                                        File errors.ts has 550 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
                                        /* eslint-disable */
                                        
                                        // import type lookup before we augment - in some environments
                                        // this is required to allow for ambient/previous definitions
                                        Severity: Major
                                        Found in packages/api-augment/src/polkadot/errors.ts - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language