Skip to content
Snippets Groups Projects
Select Git revision
  • 9415dc13fc0a26b3a29ecbece5686e873e2a0569
  • master default protected
  • develop
3 results

V10.2.ipynb

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .eslintrc.js 1.15 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"
      },
    }