blob: 1ca54254b0fed59ac5b5daebded10a1fcd811be3 [file] [log] [blame]
Skyler Grey7177bbd2023-06-01 03:26:31 +02001module.exports = {
2 extends: [
3 "eslint:recommended",
4 "plugin:@typescript-eslint/strict",
Skyler Grey7177bbd2023-06-01 03:26:31 +02005 "prettier",
Skyler Grey8fffb182023-06-02 15:30:01 +02006 "plugin:@nx/typescript"
Skyler Grey7177bbd2023-06-01 03:26:31 +02007 ],
8 parserOptions: {
9 sourceType: "module",
10 },
Skyler Grey8fffb182023-06-02 15:30:01 +020011 plugins: ["@typescript-eslint", "@nx/typescript"],
Skyler Grey7177bbd2023-06-01 03:26:31 +020012 rules: {
13 "no-unused-vars": "off",
14 "@typescript-eslint/no-unused-vars": [
15 "warn",
16 {
17 argsIgnorePattern: "^_",
18 varsIgnorePattern: "^_",
19 caughtErrorsIgnorePattern: "^_",
20 },
21 ],
22 "@typescript-eslint/no-explicit-any": "error",
23 "@typescript-eslint/no-misused-promises": "error",
24 "@typescript-eslint/no-floating-promises": "error",
25 },
26};