polkadot-js/api

View on GitHub

Showing 179 of 2,612 total issues

File types-substrate.ts has 8114 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 6846 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 5949 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 5365 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 3705 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 2958 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 2742 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 types.ts has 1842 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, Option, 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 5 days to fix

                  File interfaces.ts has 1312 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 933 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 tx.ts has 787 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 752 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 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 errors.ts has 655 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 query.ts has 635 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 kusama.ts has 564 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/kusama.ts - About 1 day to fix

                                    File errors.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/polkadot/errors.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 549 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language