Registry / testing / eslint-config-transloadit

eslint-config-transloadit

JSON →
library2.0.0jsnpmunverified

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-transloadit
INSTALL
IMPORT
SIG · ESLINT-CONFIG-TRAN
E
eslint-config-transloadit
testingjavascriptv2.0.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
module.exports = require('eslint-config-transloadit');
import config from 'eslint-config-transloadit'; // CJS-only
Package exports a CommonJS config object; ESM import not supported directly.
extends in .eslintrc
"extends": "transloadit"
"extends": "eslint-config-transloadit" // redundant, but also works
Use the short name 'transloadit' in eslintrc extends field.
overrides pattern
// .eslintrc.json { "extends": ["transloadit"], "rules": { "react/jsx-uses-react": "off" } }
{}
Override rules by merging with this config. Do not replace entire config.

Minimal ESLint configuration using the transloadit preset with a single rule override.

// .eslintrc.json { "extends": "transloadit", "rules": { "react/jsx-uses-react": "off" } }
Debug
Known issues
breakingVersion 2.0.0 drops support for Node.js < 10 and ESLint < 7.
fix
Upgrade to Node.js >=10 and ESLint >=7.
affects: >=2.0.0
breakingRequires @babel/eslint-parser and @babel/core as peer dependencies; babel-eslint is no longer supported.
fix
Install @babel/eslint-parser and @babel/core, and replace any reference to babel-eslint.
affects: >=2.0.0
deprecatedSupport for legacy parser babel-eslint is dropped; use @babel/eslint-parser.
fix
Replace 'parser': 'babel-eslint' with '@babel/eslint-parser'.
affects: >=2.0.0
gotchaThis config is CommonJS only; it cannot be imported via ESM import syntax.
fix
Use require() or rely on ESLint's config resolution which handles CJS.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-transloadit'
Missing package installation or incorrect node_modules path.
fix
Run npm install eslint-config-transloadit --save-dev.
Error: Failed to load parser '@babel/eslint-parser' declared in 'eslint-config-transloadit'
@babel/eslint-parser peer dependency not installed.
fix
Run npm install @babel/eslint-parser --save-dev.
ESLint couldn't determine the plugin uniquely.
Multiple versions of eslint-plugin-react or similar installed.
fix
Ensure consistent versions of peer dependencies; deduplicate with npm dedupe.
Upgrade
Version history
2.0.0latest on npm
Audit
Dependencies
@babel/corerequiredrequired peer dep for @babel/eslint-parser
@babel/eslint-parserrequiredparser for linting Babel-transpiled code
@babel/eslint-pluginrequiredBabel-related ESLint rules
eslintrequiredcore linting engine
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-transloadit — npm install eslint-config-transloadit · libregistry