Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Formatting Issue with Global Declaration #1728

Closed
1 task done
siguici opened this issue Feb 1, 2024 · 0 comments · Fixed by #1731
Closed
1 task done

📝 Formatting Issue with Global Declaration #1728

siguici opened this issue Feb 1, 2024 · 0 comments · Fixed by #1731
Labels
A-Parser Area: parser L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@siguici
Copy link

siguici commented Feb 1, 2024

Environment information

CLI:
  Version:                      1.5.2
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.11.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/8.15.1 "

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

Configuration

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "organizeImports": {
    "enabled": true,
    "ignore": ["node_modules", "dist"]
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true,
      "style": {
        "useBlockStatements": "error",
        "useShorthandArrayType": "error",
        "noShoutyConstants": "warn",
        "noParameterAssign": "off"
      },
      "suspicious": {
        "noImplicitAnyLet": "off",
        "noExplicitAny": "off"
      }
    },
    "ignore": ["node_modules", "dist"]
  },
  "formatter": {
    "enabled": true,
    "ignore": ["node_modules", "dist"]
  }
}

Playground link

aQBtAHAAbwByAHQAIAB7ACAAdAB5AHAAZQAgAEEAbABwAGkAbgBlACAAfQAgAGYAcgBvAG0AIAAiAGEAbABwAGkAbgBlAGoAcwAiADsACgBpAG0AcABvAHIAdAAgAHQAeQBwAGUAIABBAHgAaQBvAHMAIABmAHIAbwBtACAAIgBhAHgAaQBvAHMAIgA7AAoACgBkAGUAYwBsAGEAcgBlACAAZwBsAG8AYgBhAGwACgB7AAoAIAAgAGkAbgB0AGUAcgBmAGEAYwBlACAAVwBpAG4AZABvAHcAIAB7AAoAIAAgACAAIABBAGwAcABpAG4AZQA6ACAAQQBsAHAAaQBuAGUAOwAKACAAIAAgACAAYQB4AGkAbwBzADoAIABBAHgAaQBvAHMAOwAKACAAIAB9AAoAfQAKAA

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@Conaclos Conaclos added A-Parser Area: parser L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Parser Area: parser L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
2 participants