UNPKG

superflected

Version:

A port of ActiveSupport's inflector to Node.js

96 lines (95 loc) 3.21 kB
module.exports = { extends: "@gadgetinc/eslint-config", parserOptions: { tsconfigRootDir: __dirname, project: ["tsconfig.json"], }, rules: { "lodash/import-scope": "off", "lodash/callback-binding": "off", "lodash/chain-style": "off", "lodash/collection-method-value": "off", "lodash/collection-ordering": "off", "lodash/collection-return": "off", "lodash/consistent-compose": "off", "lodash/identity-shorthand": "off", "lodash/matches-prop-shorthand": "off", "lodash/matches-shorthand": "off", "lodash/no-commit": "off", "lodash/no-double-unwrap": "off", "lodash/no-extra-args": "off", "lodash/no-unbound-this": "off", "lodash/path-style": "off", "lodash/prefer-compact": "off", "lodash/prefer-constant": "off", "lodash/prefer-filter": "off", "lodash/prefer-find": "off", "lodash/prefer-flat-map": "off", "lodash/prefer-get": "off", "lodash/prefer-includes": "off", "lodash/prefer-is-nil": "off", "lodash/prefer-lodash-chain": "off", "lodash/prefer-lodash-method": "off", "lodash/prefer-lodash-typecheck": "off", "lodash/prefer-map": "off", "lodash/prefer-matches": "off", "lodash/prefer-noop": "off", "lodash/prefer-over-quantifier": "off", "lodash/prefer-reject": "off", "lodash/prefer-startswith": "off", "lodash/prefer-thru": "off", "lodash/prefer-times": "off", "lodash/prefer-wrapper-method": "off", "lodash/prop-shorthand": "off", "lodash/unwrap": "off", "@typescript-eslint/no-unsafe-argument": "off", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/ban-types": [ "error", { extendDefaults: true, types: { Function: false, "{}": false, }, }, ], "jest/no-disabled-tests": "off", "jest/no-focused-tests": "off", "jest/no-identical-title": "off", "jest/prefer-to-have-length": "off", "jest/valid-expect": "off", "jest/expect-expect": "off", "jest/no-alias-methods": "off", "jest/no-commented-out-tests": "off", "jest/no-conditional-expect": "off", "jest/no-deprecated-functions": "off", "jest/no-done-callback": "off", "jest/no-duplicate-hooks": "off", "jest/no-export": "off", "jest/no-hooks": "off", "jest/no-if": "off", "jest/no-interpolation-in-snapshots": "off", "jest/no-jasmine-globals": "off", "jest/no-jest-import": "off", "jest/no-large-snapshots": "off", "jest/no-mocks-import": "off", "jest/no-restricted-matchers": "off", "jest/no-standalone-expect": "off", "jest/no-test-prefixes": "off", "jest/no-test-return-statement": "off", "jest/prefer-called-with": "off", "jest/prefer-expect-assertions": "off", "jest/prefer-hooks-on-top": "off", "jest/prefer-spy-on": "off", "jest/prefer-strict-equal": "off", "jest/prefer-to-be": "off", "jest/prefer-to-contain": "off", "jest/prefer-todo": "off", "jest/require-hook": "off", "jest/require-to-throw-message": "off", "jest/require-top-level-describe": "off", "jest/valid-describe-callback": "off", "jest/valid-title": "off", }, };