chore: Organise imports (#8527)

* chore(deps): Add pretter-plugin-organize-imports

* chore: Remove insignificant blank lines in import sections

  Since prettier-plugin-organize-imports sorts imports within
  sections separated by blank lines, but preserves the section
  divisions, remove any blank lines that are not dividing imports
  into meaningful sections.

  Do not remove blank lines separating side-effect-only imports
  from main imports.

* chore: Remove unneded eslint-disable directives

* chore: Organise imports
This commit is contained in:
Christopher Allen
2024-08-15 03:16:14 +01:00
committed by GitHub
parent ec8f9c8589
commit ce22f42868
274 changed files with 985 additions and 1048 deletions

View File

@@ -10,11 +10,11 @@
// Former goog.module ID: Blockly.Python.loops
import * as stringUtils from '../../core/utils/string.js';
import type {Block} from '../../core/block.js';
import type {ControlFlowInLoopBlock} from '../../blocks/loops.js';
import type {PythonGenerator} from './python_generator.js';
import type {Block} from '../../core/block.js';
import {NameType} from '../../core/names.js';
import * as stringUtils from '../../core/utils/string.js';
import type {PythonGenerator} from './python_generator.js';
import {Order} from './python_generator.js';
export function controls_repeat_ext(block: Block, generator: PythonGenerator) {