Skip to content
Snippets Groups Projects
Select Git revision
  • Issue/3017-admin
  • main default protected
  • Issue/3242-UserDeletionOnProfile
  • Issue/3212-AddEmailforexpiredToken
  • Test/xxxx-shaclForm
  • Hotfix/xxxx-podmanComposeFix
  • Issue/3245-maintenanceAPIUpdate
  • dev protected
  • Issue/3135-newUiUnitTests
  • Issue/3187-VersionStorage
  • Issue/3179-sortDataPublicationServiceList
  • Issue/3193-processingOfPersonalDataConsent
  • Hotfix/2486-ImprovedGitLabTokenHandling
  • Issue/2486-ImprovedGitLabTokenHandling
  • Issue/2511-moveResourceInfoToModalView
  • Issue/2450-AdminPage
  • Issue/3222-FairDOFeedbackChanges
  • Issue/1560-VisibilityAndOrder
  • Issue/3082-visualizeFDOs
  • Issue/3203-brokenCoscineSurfacePage
  • Issue/3192-gitlabTokenUpdateNotPossible
  • v3.26.1
  • v3.26.0
  • v3.25.0
  • v3.24.0
  • v3.23.0
  • v3.22.0
  • v3.21.0
  • v3.20.0
  • v3.19.2
  • v3.19.1
  • v3.19.0
  • v3.18.0
  • v3.17.2
  • v3.17.1
  • v3.17.0
  • v3.16.1
  • v3.16.0
  • v3.15.6
  • v3.15.5
  • v3.15.4
41 results

.eslintrc.js

Blame
  • Benedikt Heinrichs's avatar
    Benedikt Heinrichs authored and Sandra Westerhoff committed
    3df4ba02
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .eslintrc.js 1.18 KiB
    module.exports = {
      root: true,
      env: {
        node: true,
        es2021: true,
      },
      ignorePatterns: ["node_modules", "build", "coverage", "components.d.ts", "Multiselect.vue"],
      plugins: ["eslint-comments", "functional"],
      extends: [
        "plugin:vue/recommended",
        "eslint:recommended",
        "@vue/typescript/recommended",
        "@vue/eslint-config-prettier",
        "@vue/eslint-config-typescript/recommended",
      ],
      parserOptions: {
        ecmaVersion: 2020,
      },
      rules: {
        "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
        "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
        "@typescript-eslint/explicit-module-boundary-types": "off",
          "eslint-comments/disable-enable-pair": [
            "error",
            { "allowWholeFile": true }
          ],
        "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }], // will only ignore variables that start with an underscore _
        "@typescript-eslint/no-inferrable-types": "off", // this enforces the removal of the type declarations for variables that are initialized with a value (e.g. let foo: string = "foo")
        "vue/multi-word-component-names": "off",
        "vue/no-v-model-argument": "off"
      },
    }