{"id":19598,"library":"eslint-config-transloadit","title":"eslint-config-transloadit","description":"A shareable ESLint configuration from Transloadit, used across their JavaScript/TypeScript projects. Version 2.0.0 requires ESLint ^7.22.0 and @babel/eslint-parser. This config bundles plugins for React, Jest, import, node, promise, and accessibility. It is opinionated and designed for consistency in Transloadit's monorepo. Release cadence is irregular; breaking changes are released as major versions.","status":"active","version":"2.0.0","language":"javascript","source_language":"en","source_url":"git@github.com:transloadit/eslint-config-transloadit","tags":["javascript"],"install":[{"cmd":"npm install eslint-config-transloadit","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-transloadit","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-transloadit","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"required peer dep for @babel/eslint-parser","package":"@babel/core","optional":false},{"reason":"parser for linting Babel-transpiled code","package":"@babel/eslint-parser","optional":false},{"reason":"Babel-related ESLint rules","package":"@babel/eslint-plugin","optional":false},{"reason":"core linting engine","package":"eslint","optional":false}],"imports":[{"note":"Package exports a CommonJS config object; ESM import not supported directly.","wrong":"import config from 'eslint-config-transloadit'; // CJS-only","symbol":"default","correct":"module.exports = require('eslint-config-transloadit');"},{"note":"Use the short name 'transloadit' in eslintrc extends field.","wrong":"\"extends\": \"eslint-config-transloadit\" // redundant, but also works","symbol":"extends in .eslintrc","correct":"\"extends\": \"transloadit\""},{"note":"Override rules by merging with this config. Do not replace entire config.","wrong":"{}","symbol":"overrides pattern","correct":"// .eslintrc.json\n{\n  \"extends\": [\"transloadit\"],\n  \"rules\": {\n    \"react/jsx-uses-react\": \"off\"\n  }\n}"}],"quickstart":{"code":"// .eslintrc.json\n{\n  \"extends\": \"transloadit\",\n  \"rules\": {\n    \"react/jsx-uses-react\": \"off\"\n  }\n}","lang":"javascript","description":"Minimal ESLint configuration using the transloadit preset with a single rule override."},"warnings":[{"fix":"Upgrade to Node.js >=10 and ESLint >=7.","message":"Version 2.0.0 drops support for Node.js < 10 and ESLint < 7.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Install @babel/eslint-parser and @babel/core, and replace any reference to babel-eslint.","message":"Requires @babel/eslint-parser and @babel/core as peer dependencies; babel-eslint is no longer supported.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Replace 'parser': 'babel-eslint' with '@babel/eslint-parser'.","message":"Support for legacy parser babel-eslint is dropped; use @babel/eslint-parser.","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Use require() or rely on ESLint's config resolution which handles CJS.","message":"This config is CommonJS only; it cannot be imported via ESM import syntax.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run npm install eslint-config-transloadit --save-dev.","cause":"Missing package installation or incorrect node_modules path.","error":"Error: Cannot find module 'eslint-config-transloadit'"},{"fix":"Run npm install @babel/eslint-parser --save-dev.","cause":"@babel/eslint-parser peer dependency not installed.","error":"Error: Failed to load parser '@babel/eslint-parser' declared in 'eslint-config-transloadit'"},{"fix":"Ensure consistent versions of peer dependencies; deduplicate with npm dedupe.","cause":"Multiple versions of eslint-plugin-react or similar installed.","error":"ESLint couldn't determine the plugin uniquely."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}