|
| 1 | +module.exports = { |
| 2 | + extends: "@gadgetinc/eslint-config", |
| 3 | + parserOptions: { |
| 4 | + tsconfigRootDir: __dirname, |
| 5 | + project: ["tsconfig.json"], |
| 6 | + }, |
| 7 | + rules: { |
| 8 | + "lodash/import-scope": "off", |
| 9 | + "lodash/callback-binding": "off", |
| 10 | + "lodash/chain-style": "off", |
| 11 | + "lodash/collection-method-value": "off", |
| 12 | + "lodash/collection-ordering": "off", |
| 13 | + "lodash/collection-return": "off", |
| 14 | + "lodash/consistent-compose": "off", |
| 15 | + "lodash/identity-shorthand": "off", |
| 16 | + "lodash/matches-prop-shorthand": "off", |
| 17 | + "lodash/matches-shorthand": "off", |
| 18 | + "lodash/no-commit": "off", |
| 19 | + "lodash/no-double-unwrap": "off", |
| 20 | + "lodash/no-extra-args": "off", |
| 21 | + "lodash/no-unbound-this": "off", |
| 22 | + "lodash/path-style": "off", |
| 23 | + "lodash/prefer-compact": "off", |
| 24 | + "lodash/prefer-constant": "off", |
| 25 | + "lodash/prefer-filter": "off", |
| 26 | + "lodash/prefer-find": "off", |
| 27 | + "lodash/prefer-flat-map": "off", |
| 28 | + "lodash/prefer-get": "off", |
| 29 | + "lodash/prefer-includes": "off", |
| 30 | + "lodash/prefer-is-nil": "off", |
| 31 | + "lodash/prefer-lodash-chain": "off", |
| 32 | + "lodash/prefer-lodash-method": "off", |
| 33 | + "lodash/prefer-lodash-typecheck": "off", |
| 34 | + "lodash/prefer-map": "off", |
| 35 | + "lodash/prefer-matches": "off", |
| 36 | + "lodash/prefer-noop": "off", |
| 37 | + "lodash/prefer-over-quantifier": "off", |
| 38 | + "lodash/prefer-reject": "off", |
| 39 | + "lodash/prefer-startswith": "off", |
| 40 | + "lodash/prefer-thru": "off", |
| 41 | + "lodash/prefer-times": "off", |
| 42 | + "lodash/prefer-wrapper-method": "off", |
| 43 | + "lodash/prop-shorthand": "off", |
| 44 | + "lodash/unwrap": "off", |
| 45 | + "@typescript-eslint/no-unsafe-argument": "off", |
| 46 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 47 | + "@typescript-eslint/ban-types": [ |
| 48 | + "error", |
| 49 | + { |
| 50 | + extendDefaults: true, |
| 51 | + types: { |
| 52 | + Function: false, |
| 53 | + "{}": false, |
| 54 | + }, |
| 55 | + }, |
| 56 | + ], |
| 57 | + "jest/no-disabled-tests": "off", |
| 58 | + "jest/no-focused-tests": "off", |
| 59 | + "jest/no-identical-title": "off", |
| 60 | + "jest/prefer-to-have-length": "off", |
| 61 | + "jest/valid-expect": "off", |
| 62 | + "jest/expect-expect": "off", |
| 63 | + "jest/no-alias-methods": "off", |
| 64 | + "jest/no-commented-out-tests": "off", |
| 65 | + "jest/no-conditional-expect": "off", |
| 66 | + "jest/no-deprecated-functions": "off", |
| 67 | + "jest/no-done-callback": "off", |
| 68 | + "jest/no-duplicate-hooks": "off", |
| 69 | + "jest/no-export": "off", |
| 70 | + "jest/no-hooks": "off", |
| 71 | + "jest/no-if": "off", |
| 72 | + "jest/no-interpolation-in-snapshots": "off", |
| 73 | + "jest/no-jasmine-globals": "off", |
| 74 | + "jest/no-jest-import": "off", |
| 75 | + "jest/no-large-snapshots": "off", |
| 76 | + "jest/no-mocks-import": "off", |
| 77 | + "jest/no-restricted-matchers": "off", |
| 78 | + "jest/no-standalone-expect": "off", |
| 79 | + "jest/no-test-prefixes": "off", |
| 80 | + "jest/no-test-return-statement": "off", |
| 81 | + "jest/prefer-called-with": "off", |
| 82 | + "jest/prefer-expect-assertions": "off", |
| 83 | + "jest/prefer-hooks-on-top": "off", |
| 84 | + "jest/prefer-spy-on": "off", |
| 85 | + "jest/prefer-strict-equal": "off", |
| 86 | + "jest/prefer-to-be": "off", |
| 87 | + "jest/prefer-to-contain": "off", |
| 88 | + "jest/prefer-todo": "off", |
| 89 | + "jest/require-hook": "off", |
| 90 | + "jest/require-to-throw-message": "off", |
| 91 | + "jest/require-top-level-describe": "off", |
| 92 | + "jest/valid-describe-callback": "off", |
| 93 | + "jest/valid-title": "off", |
| 94 | + }, |
| 95 | +}; |
0 commit comments