Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/components/migration/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 879 B image not shown  

Quelle  .eslintrc.mjs   Sprache: unbekannt

 
Spracherkennung für: .mjs vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export default [
  {
    rules: {
      "block-scoped-var": "error",
      complexity: ["error", { max: 22 }],
      "max-nested-callbacks": ["error", 3],
      "no-extend-native": "error",
      "no-multi-str": "error",
      "no-return-assign": "error",
      "no-unused-vars": [
        "error",
        { argsIgnorePattern: "^_", caughtErrors: "none", vars: "all" },
      ],
      strict: ["error", "global"],
      yoda: "error",
    },
  },
  {
    files: ["**/head*.js"],
    rules: {
      "no-unused-vars": [
        "error",
        {
          argsIgnorePattern: "^_",
          caughtErrors: "none",
          vars: "local",
        },
      ],
    },
  },
];

[Dauer der Verarbeitung: 0.37 Sekunden]