{ "env": { "browser": true, "es2021": true }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier/prettier" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": "latest", "sourceType": "module" }, "plugins": [ "@typescript-eslint" ], "rules": { "indent": [ "error", 2 ], "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "single" ], "semi": [ "error", "never" ], "curly": [ "error", "multi-or-nest" ], "max-len": [ "error", { "code": 80, "ignoreUrls": true, "ignoreComments": true } ], "no-mixed-operators": "error", "no-tabs": [ "error", { "allowIndentationTabs": true } ], "lines-around-comment": [ "error", { "beforeBlockComment": true, "afterBlockComment": true, "beforeLineComment": true, "afterLineComment": true, "allowBlockStart": true, "allowBlockEnd": true, "allowObjectStart": true, "allowObjectEnd": true, "allowArrayStart": true, "allowArrayEnd": true } ], "lines-between-class-members": [ "error", "never" ], "padding-line-between-statements": [ "error", { "blankLine": "always", "prev": "*", "next": "return" } ] } }