laboratory icon indicating copy to clipboard operation
laboratory copied to clipboard

Lab Refactor: Tier 2: Update eslint config

Open piyalbasu opened this issue 3 years ago • 0 comments

With all the big views converted, it should be a smaller lift to update the eslint config. Use AV's config as a template:

module.exports = {
  extends: ["@stellar/eslint-config"],
  rules: {
    "no-console": "off",
    "import/no-unresolved": "off",
    "react/jsx-filename-extension": ["error", { extensions: [".tsx", ".jsx"] }],
    "no-plusplus": "off",
    "jsdoc/check-indentation": "off",
    "@typescript-eslint/naming-convention": [
      "error",
      {
        selector: "typeProperty",
        format: ["PascalCase", "UPPER_CASE", "camelCase", "snake_case"],
        leadingUnderscore: "allow",
        trailingUnderscore: "allow",
      },
    ],
  },
};

piyalbasu avatar Dec 20 '21 19:12 piyalbasu