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.
npm install eslint-config-transloaditVerified import paths — ran on the pinned version, not inferred.
Minimal ESLint configuration using the transloadit preset with a single rule override.
Upgrade to Node.js >=10 and ESLint >=7.
Install @babel/eslint-parser and @babel/core, and replace any reference to babel-eslint.
Replace 'parser': 'babel-eslint' with '@babel/eslint-parser'.
Use require() or rely on ESLint's config resolution which handles CJS.
Run npm install eslint-config-transloadit --save-dev.
Run npm install @babel/eslint-parser --save-dev.
Ensure consistent versions of peer dependencies; deduplicate with npm dedupe.