laboratory
laboratory copied to clipboard
Lab Refactor: Tier 2: Update eslint config
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",
},
],
},
};