How to config ESLint with Webstorm (create-t3-turbo)

I recently switched from VSCode to Webstorm. I found as my monorepo kept growing the ESLint and TS server on VSCode became super unreliable to the point where it was crashing multiple times a day on me. I like Webstorm but was having trouble setting up my ESLint config path. Has anyone set up the config paths properly? For some context, I have a .eslintrc.js file in my root that extends an index.js config file in packages/config/eslint. Here is the eslint package config:

/** @type {import("eslint").Linter.Config} */
const config = {
  extends: [
    "next",
    "turbo",
    "plugin:jest/recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:@typescript-eslint/recommended-requiring-type-checking",
    "prettier",
  ],
  rules: {
    "@next/next/no-html-link-for-pages": "off",
    "@typescript-eslint/restrict-template-expressions": "off",
    "@typescript-eslint/no-unsafe-assignment": "off",
    "@typescript-eslint/no-unused-vars": [
      "error",
      {
        argsIgnorePattern: "^_",
        varsIgnorePattern: "^_",
        caughtErrorsIgnorePattern: "^_",
      },
    ],
    "@typescript-eslint/consistent-type-imports": [
      "error",
      { prefer: "type-imports", fixStyle: "inline-type-imports" },
    ],
  },
  ignorePatterns: ["**/*.config.js", "**/*.config.cjs", "packages/config/**"],
  reportUnusedDisableDirectives: true,
};

module.exports = config;

Sorry if this was a shitty question or in the wrong place, i've been trying for a while and I have no idea how to set the config up in a monorepo 😐
Screenshot_2023-07-29_at_6.06.46_AM.png
Was this page helpful?