repo_description: Refine high-quality datasets and visual AI models
repo_topics: active-learning artificial-intelligence computer-vision data-centric-ai data-cleaning data-curation data-quality data-science deep-learning developer-tools image-classification machine-learning object-detection python unstructured-data vector-search visualization
code: /* eslint-disable */
  
  module.exports = {
    env: {
      browser: true,
      es6: true,
    },
    extends: [
      "eslint:recommended",
      "plugin:react/recommended",
      "plugin:react-hooks/recommended",
      "plugin:react/jsx-runtime",
      "plugin:@typescript-eslint/recommended",
      "prettier",
    ],
    globals: {
      Atomics: "readonly",
      SharedArrayBuffer: "readonly",
      JSX: true,
    },
    parser: "@typescript-eslint/parser",
    parserOptions: {
      ecmaVersion: 2021,
      sourceType: "module",
    },
    plugins: [
      "react",
      "@typescript-eslint",
      "prettier",
      "react-hooks",
      "only-warn",
    ],
    rules: {
      // must disable base rule for typescript no-unused-vars to take effect
      "no-unused-vars": "off",
      // allow unused vars that have the underscore prefix
      "@typescript-eslint/no-unused-vars": [
        "warn",
        {
          argsIgnorePattern: "^_",
          varsIgnorePattern: "^_|React",
          caughtErrorsIgnorePattern: "^_",
        },
      ],
      // allow namespace for type export
      "@typescript-eslint/no-namespace": "off",
      "@typescript-eslint/no-non-null-assertion": "off",
      "react/display-name": "off",
      "react/no-unknown-property": [
        "warn",
        {
          // this is for react-three-fiber props
          ignore: [
            "object",
            "attach",
            "rotation",
            "position",
            "args",
            "linewidth",
            "transparent",
          ],
        },
      ],
      "react/prop-types": 0,
    },
    settings: {
      react: {
        version: "detect",
      },
    },
    overrides: [],
  };
  